Find Text ID's Location
Jump to navigation
Jump to search
0014ce78: 20090000 addi r9,r0,0x0000 String Counter = 0 0014ce7c: 200a00fe addi r10,r0,0x00fe r10 = 0xFE 0014ce80: 90880000 lbu r8,0x0000(r4) Load Text Byte 0014ce84: 10a90008 beq r5,r9,0x0014cea8 Branch if Text ID = String Counter 0014ce88: 00000000 nop 0014ce8c: 310800fe andi r8,r8,0x00fe 0014ce90: 150a0002 bne r8,r10,0x0014ce9c Branch if Text Byte != FE (end of string) 0014ce94: 00000000 nop 0014ce98: 21290001 addi r9,r9,0x0001 String Counter ++ 0014ce9c: 20840001 addi r4,r4,0x0001 Text Pointer ++ 0014cea0: 0401fff7 bgez r0,0x0014ce80 Unconditional Branch 0014cea4: 00000000 nop 0014cea8: 00041020 add r2,r0,r4 r2 = Text Pointer (Text ID's Location) 0014ceac: 03e00008 jr r31 0014ceb0: 00000000 nop