Sorry about that, it was a simple typo.
lis r12, 0x8034
lhz r11, 0x3E80 (r12)
andi r11, r11, 0x0880 #And Immediate, Logical AND using r11 & 0x0880
cmpwi r11, 0x0880
beq- the_label
Here's a simple code I made using ASM for button activator/deactivator - http://mkwii.com/showthread.php?tid=893 (source below is for NTSC-K specific version, haven't updated that particular source to use macros for region variances)
lis r12, 0x8034
lhz r11, 0x3E80 (r12)
andi r11, r11, 0x0880 #And Immediate, Logical AND using r11 & 0x0880
cmpwi r11, 0x0880
beq- the_label
Here's a simple code I made using ASM for button activator/deactivator - http://mkwii.com/showthread.php?tid=893 (source below is for NTSC-K specific version, haven't updated that particular source to use macros for region variances)