Get Sound Effect Data
Jump to navigation
Jump to search
00017e7c: 3c028003 lui r2,0x8003 00017e80: 8c422a00 lw r2,0x2a00(r2) 00017e84: 3c058003 lui r5,0x8003 00017e88: 24a52a00 addiu r5,r5,0x2a00 00017e8c: 10400007 beq r2,r0,0x00017eac branch if no address found 00017e90: 00000000 nop 00017e94: 8ca20000 lw r2,0x0000(r5) if address found, load address at address 00017e98: 00000000 nop 00017e9c: 8c430010 lw r3,0x0010(r2) load byte 10? 00017ea0: 00000000 nop 00017ea4: 1460fffb bne r3,r0,0x00017e94 loop until byte 10 is 0 00017ea8: 24450010 addiu r5,r2,0x0010 00017eac: aca40000 sw r4,0x0000(r5) Store RAM address of file 00017eb0: 03e00008 jr r31 00017eb4: ac800010 sw r0,0x0010(r4) store 0 at RAM address byte 10