Handle Tutorial Command: Display Message
Jump to navigation
Jump to search
8012de98: 27bdffe8 addiu r29,r29,-0x0018 8012de9c: afbf0014 sw r31,0x0014(r29) 8012dea0: afbe0010 sw r30,0x0010(r29) 8012dea4: 03a0f021 addu r30,r29,r0 8012dea8: 34040010 ori r4,r0,0x0010 8012deac: 3c05800e lui r5,0x800e 8012deb0: 24a54d9c addiu r5,r5,0x4d9c 8012deb4: 0c03ff5c jal 0x800ffd70 # Initialize Thread (WORLD.BIN) (16, 0x800e4d9c); 8012deb8: 00000000 nop 8012debc: 3c03801d lui r3,0x801d 8012dec0: 8c63c570 lw r3,-0x3a90(r3) # commandPtr 8012dec4: 00000000 nop 8012dec8: 24620002 addiu r2,r3,0x0002 # commandPtr + 2 8012decc: 00401821 addu r3,r2,r0 8012ded0: 90620000 lbu r2,0x0000(r3) # *(commandPtr + 2) 8012ded4: 00000000 nop 8012ded8: 00401821 addu r3,r2,r0 8012dedc: 00031200 sll r2,r3,0x08 # *(commandPtr + 2) << 8 8012dee0: 3c04801d lui r4,0x801d 8012dee4: 8c84c570 lw r4,-0x3a90(r4) # commandPtr 8012dee8: 00000000 nop 8012deec: 24830001 addiu r3,r4,0x0001 # commandPtr + 1 8012def0: 00602021 addu r4,r3,r0 8012def4: 90830000 lbu r3,0x0000(r4) # *(commandPtr + 1) 8012def8: 3404b800 ori r4,r0,0xb800 # 0xb800 8012defc: 00641821 addu r3,r3,r4 # *(commandPtr + 1) + 0xb800 8012df00: 00431021 addu r2,r2,r3 # textEntry = *(commandPtr + 2) << 8 + *(commandPtr + 1) + 0xb800 8012df04: 34040010 ori r4,r0,0x0010 8012df08: 34050099 ori r5,r0,0x0099 8012df0c: 00403021 addu r6,r2,r0 8012df10: 00003821 addu r7,r0,r0 8012df14: 0c03ffc2 jal 0x800fff08 # Store Thread Function Parameters (WORLD.BIN) (16, 0x99, textEntry, 0); 8012df18: 00000000 nop 8012df1c: 3c028015 lui r2,0x8015 8012df20: 8c42327c lw r2,0x327c(r2) # threads 8012df24: 00000000 nop 8012df28: 2443405c addiu r3,r2,0x405c # &threads[16].0x5c 8012df2c: 00601021 addu r2,r3,r0 8012df30: 3c04801d lui r4,0x801d 8012df34: 8c84c570 lw r4,-0x3a90(r4) # commandPtr 8012df38: 00000000 nop 8012df3c: 24830003 addiu r3,r4,0x0003 # commandPtr + 3 8012df40: 00602021 addu r4,r3,r0 8012df44: 90830000 lbu r3,0x0000(r4) # *(commandPtr + 3) 8012df48: 00000000 nop 8012df4c: ac430000 sw r3,0x0000(r2) # threads[16].0x5c = *(commandPtr + 3) 8012df50: 3c02801d lui r2,0x801d 8012df54: 8c42c570 lw r2,-0x3a90(r2) # commandPtr 8012df58: 00000000 nop 8012df5c: 24430004 addiu r3,r2,0x0004 # commandPtr + 4 8012df60: 3c01801d lui r1,0x801d 8012df64: ac23c570 sw r3,-0x3a90(r1) # commandPtr = commandPtr + 4 8012df68: 03c0e821 addu r29,r30,r0 8012df6c: 8fbf0014 lw r31,0x0014(r29) 8012df70: 8fbe0010 lw r30,0x0010(r29) 8012df74: 27bd0018 addiu r29,r29,0x0018 8012df78: 03e00008 jr r31 8012df7c: 00000000 nop