# # lab6task2.txt (Lab 6, Task 2) # 00 read r1 # get user's first # and store it in r1 01 read r2 # get user's second # and store it in r2 02 nop # space for future expansion! 03 nop 04 nop 05 sub r3 r2 r1 # r3 = r2 - r1 06 jgtz r3 10 # halt if r1 == r2 07 write r1 # print the value of r1 08 addn r1 1 # add 1 to r1 09 jumpn 05 # jump to line 05 10 halt # end the program