81 for i in [7, 8, 9]:
83 addi 1, 0, i+1 # set r1 to i
84 addi 2, 0, i # set r2 to i
- 85 cmpi cr0, 1, 1, 8 # compare r1 with 10 and store to cr0
- 86 cmpi cr1, 1, 2, 8 # compare r2 with 10 and store to cr1
+ 85 cmpi cr0, 1, 1, 8 # compare r1 with 8 and store to cr0
+ 86 cmpi cr1, 1, 2, 8 # compare r2 with 8 and store to cr1
87 sv.bc/all 12, *1, 0xc # bgt 0xc - branch if BOTH
88 # r1 AND r2 greater 8 to the nop below
89 addi 3, 0, 0x1234, # if tests fail this shouldn't execute