;; This program reads in 2 integers and prints ;; them out in sorted order. allocate-registers a b done test temp zero li zero 0 li done Ldone read a read b sgt test a b jeqz test done add temp a zero add a b zero add b temp zero Ldone: write a write b halt