Difference between revisions of "00012560 - 000125a4"
Jump to navigation
Jump to search
(Created page with "<font face='Courier New'> 00012560: 27bdffe8 addiu r29,r29,0xffe8 00012564: 3c028003 lui r2,0x8003 00012568: 94422a54 lhu r2,0x2a54(r2) 0001256c: 00802821 addu r5,r4,r0 ...") |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
00012560: 27bdffe8 addiu r29,r29,0xffe8 | 00012560: 27bdffe8 addiu r29,r29,0xffe8 | ||
00012564: 3c028003 lui r2,0x8003 | 00012564: 3c028003 lui r2,0x8003 | ||
− | 00012568: 94422a54 lhu r2,0x2a54(r2) | + | 00012568: 94422a54 lhu r2,0x2a54(r2) encoded instruction |
− | 0001256c: 00802821 addu r5,r4,r0 | + | 0001256c: 00802821 addu r5,r4,r0 sound effect to play |
− | 00012570: 30421000 andi r2,r2,0x1000 | + | 00012570: 30421000 andi r2,r2,0x1000 check if music playing |
− | 00012574: 10400008 beq r2,r0,0x00012598 | + | 00012574: 10400008 beq r2,r0,0x00012598 end if music isn't playing |
00012578: afbf0010 sw r31,0x0010(r29) | 00012578: afbf0010 sw r31,0x0010(r29) | ||
0001257c: 34020002 ori r2,r0,0x0002 | 0001257c: 34020002 ori r2,r0,0x0002 | ||
Line 13: | Line 13: | ||
00012588: 34046004 ori r4,r0,0x6004 | 00012588: 34046004 ori r4,r0,0x6004 | ||
0001258c: 34066000 ori r6,r0,0x6000 | 0001258c: 34066000 ori r6,r0,0x6000 | ||
− | 00012590: 0c004ec8 jal 0x00013b20 | + | 00012590: 0c004ec8 jal 0x00013b20 [[Play Sound Effect (Worker Routine)]] |
00012594: 34074000 ori r7,r0,0x4000 | 00012594: 34074000 ori r7,r0,0x4000 | ||
00012598: 8fbf0010 lw r31,0x0010(r29) | 00012598: 8fbf0010 lw r31,0x0010(r29) |
Latest revision as of 03:21, 5 February 2025
00012560: 27bdffe8 addiu r29,r29,0xffe8 00012564: 3c028003 lui r2,0x8003 00012568: 94422a54 lhu r2,0x2a54(r2) encoded instruction 0001256c: 00802821 addu r5,r4,r0 sound effect to play 00012570: 30421000 andi r2,r2,0x1000 check if music playing 00012574: 10400008 beq r2,r0,0x00012598 end if music isn't playing 00012578: afbf0010 sw r31,0x0010(r29) 0001257c: 34020002 ori r2,r0,0x0002 00012580: 3c018003 lui r1,0x8003 00012584: a42229f0 sh r2,0x29f0(r1) 00012588: 34046004 ori r4,r0,0x6004 0001258c: 34066000 ori r6,r0,0x6000 00012590: 0c004ec8 jal 0x00013b20 Play Sound Effect (Worker Routine) 00012594: 34074000 ori r7,r0,0x4000 00012598: 8fbf0010 lw r31,0x0010(r29) 0001259c: 27bd0018 addiu r29,r29,0x0018 000125a0: 03e00008 jr r31 000125a4: 00000000 nop