Store X Byte into Y
Jump to navigation
Jump to search
Store X Byte into Y ------------------------------------------ r6 = number of loops r4 = data to load location r5 = location to store ------------------------------------------ 0005e254: 27bdfff8 addiu r29,r29,0xfff8 0005e258: 18c00008 blez r6,0x0005e27c #Branch if Limit <= 0 (Avoid routine) 0005e25c: 00001821 addu r3,r0,r0 |r3 = 0 0005e260: 90820000 lbu r2,0x0000(r4) @r2 = Load X Data (from r4 + counter) 0005e264: 24840001 addiu r4,r4,0x0001 |increase Load Pointer 0005e268: 24630001 addiu r3,r3,0x0001 |increase Counter 0005e26c: a0a20000 sb r2,0x0000(r5) |Store X Data (at r5 + counter) 0005e270: 0066102a slt r2,r3,r6 |r2 = 0x01 while r3 < r6 - else 0x00 0005e274: 1440fffa bne r2,r0,0x0005e260 >Loop while r2 = 0x00 (Counter < Limit) 0005e278: 24a50001 addiu r5,r5,0x0001 |increase Store Pointer 0005e27c: 27bd0008 addiu r29,r29,0x0008 End 0005e280: 03e00008 jr r31 0005e284: 00000000 nop
Return Locations
00059ce4: Add Unit to Party/Store Unit's Party Data 00059d04: 00059d14: 0005a550: Transfer Job's Growths/Mults to Unit 0005abe4: Store Ramza's Name/Birthday/Zodiac 0005b1d4: Initialize Unit's Battle Data 0005b210: 0005b244: 0005b254: 0005b264: 0005b274: 0005b654: Transfer Job's Data to Unit's Data 0005b664: 0005b674: 0005b6d0: 0005b758: 00178558: 00178acc: 00178e44: 00178e9c: 00187820: Magic Gun Ability Decision 0018b530: Pre Formula Setup (FDC) 0018b540: Pre Formula Setup (FDC) 0018b6f8: Pre Formula Setup (FDC) 0018b728: Pre Formula Setup (FDC) 0018b928: Pre Formula Setup (FDC) 0018c7a0: 0018c814: 0018d77c: 0018e0d8: Post_Ability_Hardcoding? 0018e190: Post_Ability_Hardcoding? 0018e610: 0018e648: