A(0x3e) puts

From Final Fantasy Hacktics Wiki
(Redirected from 00004304 - 0000435c)
Jump to navigation Jump to search

00004304: 27bdffe0 addiu r29,r29,0xffe0
00004308: afb10018 sw r17,0x0018(r29)
0000430c: 00808821 addu r17,r4,r0           src ptr
00004310: afbf001c sw r31,0x001c(r29)
00004314: 16200003 bne r17,r0,0x00004324    branch if pointer exists
00004318: afb00014 sw r16,0x0014(r29)
0000431c: 3c110000 lui r17,0x0000
00004320: 26317210 addiu r17,r17,0x7210     points to <NULL> if no pointer
00004324: 82300000 lb r16,0x0000(r17)       load first byte
00004328: 26310001 addiu r17,r17,0x0001     pointer ++
0000432c: 12000008 beq r16,r0,0x00004350    if 0, end
00004330: 8fbf001c lw r31,0x001c(r29)       okay
00004334: 0c00101b jal 0x0000406c           A(0x3c) putchar
00004338: 02002021 addu r4,r16,r0
0000433c: 82300000 lb r16,0x0000(r17)
00004340: 26310001 addiu r17,r17,0x0001     pointer ++
00004344: 1600fffb bne r16,r0,0x00004334    loop if not 0
00004348: 00000000 nop
0000434c: 8fbf001c lw r31,0x001c(r29)
00004350: 8fb00014 lw r16,0x0014(r29)
00004354: 8fb10018 lw r17,0x0018(r29)
00004358: 03e00008 jr r31
0000435c: 27bd0020 addiu r29,r29,0x0020