2 # count for 1 million instructions
3 # total is 3 + 499997*2 + 3
7 nop # to give us an even million
8 lis 15,499997@ha # load high 16-bits of counter
9 addi 15,15,499997@l # load low 16-bits of counter
11 addic. 15,15,-1 # decrement counter
12 bne 0,test_loop # loop until zero
14 #================================
16 #================================
20 li 0,1 # put the exit syscall number (1) in r0