There is a small mistake that causes the code to crash (I think) - the branch is wrong. When replacing
with
the branch "bge skip" is extended by one instruction. So you need to change "40800038" to "4080003C".
Try again with this change and see if it works.
Code:
li r11, 0xII # Our Item
with
Code:
lis r11, 0x8000
lbz r11, 0x1501 (r11) # Our Item
the branch "bge skip" is extended by one instruction. So you need to change "40800038" to "4080003C".
Try again with this change and see if it works.