Difference between revisions of "Prep for Loading Text"
Jump to navigation
Jump to search
(Created page with "<font face='Courier New'> 00132824: 27bdffe8 addiu r29,r29,0xffe8 00132828: 00802821 addu r5,r4,r0 0013282c: 30a2f800 andi r2,r5,0xf800 00132830: 00021242 srl r2,r2,0x09...") |
|||
Line 2: | Line 2: | ||
00132824: 27bdffe8 addiu r29,r29,0xffe8 | 00132824: 27bdffe8 addiu r29,r29,0xffe8 | ||
− | 00132828: 00802821 addu r5,r4,r0 | + | 00132828: 00802821 addu r5,r4,r0 r5 = Text ID |
− | 0013282c: 30a2f800 andi r2,r5,0xf800 | + | 0013282c: 30a2f800 andi r2,r5,0xf800 Get Text Type |
− | 00132830: 00021242 srl r2,r2,0x09 | + | 00132830: 00021242 srl r2,r2,0x09 Pointer Mod = Text Type / 512 |
00132834: afbf0010 sw r31,0x0010(r29) | 00132834: afbf0010 sw r31,0x0010(r29) | ||
00132838: 3c018017 lui r1,0x8017 | 00132838: 3c018017 lui r1,0x8017 | ||
0013283c: 00220821 addu r1,r1,r2 | 0013283c: 00220821 addu r1,r1,r2 | ||
− | 00132840: 8c243f8c lw r4,0x3f8c(r1) | + | 00132840: 8c243f8c lw r4,0x3f8c(r1) Load Text Pointer |
− | 00132844: 0c05339e jal 0x0014ce78 | + | 00132844: 0c05339e jal 0x0014ce78 [[Find Text ID's Location]] |
− | 00132848: 30a507ff andi r5,r5,0x07ff | + | 00132848: 30a507ff andi r5,r5,0x07ff r5 = Text ID |
0013284c: 8fbf0010 lw r31,0x0010(r29) | 0013284c: 8fbf0010 lw r31,0x0010(r29) | ||
00132850: 27bd0018 addiu r29,r29,0x0018 | 00132850: 27bd0018 addiu r29,r29,0x0018 |
Latest revision as of 13:48, 11 June 2016
00132824: 27bdffe8 addiu r29,r29,0xffe8 00132828: 00802821 addu r5,r4,r0 r5 = Text ID 0013282c: 30a2f800 andi r2,r5,0xf800 Get Text Type 00132830: 00021242 srl r2,r2,0x09 Pointer Mod = Text Type / 512 00132834: afbf0010 sw r31,0x0010(r29) 00132838: 3c018017 lui r1,0x8017 0013283c: 00220821 addu r1,r1,r2 00132840: 8c243f8c lw r4,0x3f8c(r1) Load Text Pointer 00132844: 0c05339e jal 0x0014ce78 Find Text ID's Location 00132848: 30a507ff andi r5,r5,0x07ff r5 = Text ID 0013284c: 8fbf0010 lw r31,0x0010(r29) 00132850: 27bd0018 addiu r29,r29,0x0018 00132854: 03e00008 jr r31 00132858: 00000000 nop