;; This program reads in 2 integers, ;; then prints the smaller number. allocate-registers input1 input2 test jump read input1 read input2 sgt test, input1, input2 li jump, printInput1L jeqz test, jump write input2 halt printInput1L: write input1 halt