Data Nullifying
Jump to navigation
Jump to search
Data Nullifying (requires r5 = Limit, and r4 = Starting location) 0005e644: 27bdfff8 addiu r29,r29,0xfff8 0005e648: 18a00006 blez r5,0x0005e664 Branch if r5 <= 0 0005e64c: 00001821 addu r3,r0,r0 r3 = 0 0005e650: a0800000 sb r0,0x0000(r4) X Value = 0 0005e654: 24630001 addiu r3,r3,0x0001 r3 += 1 (Counter ++) 0005e658: 0065102a slt r2,r3,r5 0005e65c: 1440fffc bne r2,r0,0x0005e650 Branch if counter isn't at limit 0005e660: 24840001 addiu r4,r4,0x0001 Data to null + 1 0005e664: 27bd0008 addiu r29,r29,0x0008 0005e668: 03e00008 jr r31 0005e66c: 00000000 nop