;; Reads in 2 integers, then prints out the smaller one. allocate-registers post a b test li post postL read a read b ; if !(a < b) then jump post slt test a b jeqz test post write a halt postL: write b halt