tp/asm/odemuexi2/Src/OdemuExi2Lib/DebuggerDriver/DBGWrite.s

61 lines
2.5 KiB
ArmAsm

lbl_803732B0:
/* 803732B0 7C 08 02 A6 */ mflr r0
/* 803732B4 90 01 00 04 */ stw r0, 4(r1)
/* 803732B8 54 60 41 EA */ rlwinm r0, r3, 8, 7, 0x15
/* 803732BC 64 00 A0 00 */ oris r0, r0, 0xa000
/* 803732C0 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 803732C4 BF 41 00 28 */ stmw r26, 0x28(r1)
/* 803732C8 3F A0 CC 00 */ lis r29, 0xCC00 /* 0xCC006800@ha */
/* 803732CC 3B C5 00 00 */ addi r30, r5, 0
/* 803732D0 3B 44 00 00 */ addi r26, r4, 0
/* 803732D4 3B FD 68 00 */ addi r31, r29, 0x6800 /* 0xCC006800@l */
/* 803732D8 38 61 00 24 */ addi r3, r1, 0x24
/* 803732DC 38 80 00 04 */ li r4, 4
/* 803732E0 38 A0 00 01 */ li r5, 1
/* 803732E4 80 DD 68 28 */ lwz r6, 0x6828(r29)
/* 803732E8 70 C6 04 05 */ andi. r6, r6, 0x405
/* 803732EC 60 C6 00 C0 */ ori r6, r6, 0xc0
/* 803732F0 94 DF 00 28 */ stwu r6, 0x28(r31)
/* 803732F4 90 01 00 24 */ stw r0, 0x24(r1)
/* 803732F8 48 00 02 1D */ bl DBGEXIImm
/* 803732FC 7C 60 00 34 */ cntlzw r0, r3
/* 80373300 54 00 D9 7E */ srwi r0, r0, 5
/* 80373304 7C 1B 03 78 */ mr r27, r0
lbl_80373308:
/* 80373308 3B 9D 68 00 */ addi r28, r29, 0x6800
/* 8037330C 84 1C 00 34 */ lwzu r0, 0x34(r28)
/* 80373310 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 80373314 40 82 FF F4 */ bne lbl_80373308
/* 80373318 48 00 00 44 */ b lbl_8037335C
lbl_8037331C:
/* 8037331C 80 1A 00 00 */ lwz r0, 0(r26)
/* 80373320 38 61 00 20 */ addi r3, r1, 0x20
/* 80373324 38 80 00 04 */ li r4, 4
/* 80373328 90 01 00 20 */ stw r0, 0x20(r1)
/* 8037332C 38 A0 00 01 */ li r5, 1
/* 80373330 3B 5A 00 04 */ addi r26, r26, 4
/* 80373334 48 00 01 E1 */ bl DBGEXIImm
/* 80373338 7C 60 00 34 */ cntlzw r0, r3
/* 8037333C 54 00 D9 7E */ srwi r0, r0, 5
/* 80373340 7F 7B 03 78 */ or r27, r27, r0
lbl_80373344:
/* 80373344 80 1C 00 00 */ lwz r0, 0(r28)
/* 80373348 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 8037334C 40 82 FF F8 */ bne lbl_80373344
/* 80373350 37 DE FF FC */ addic. r30, r30, -4
/* 80373354 40 80 00 08 */ bge lbl_8037335C
/* 80373358 3B C0 00 00 */ li r30, 0
lbl_8037335C:
/* 8037335C 2C 1E 00 00 */ cmpwi r30, 0
/* 80373360 40 82 FF BC */ bne lbl_8037331C
/* 80373364 80 9F 00 00 */ lwz r4, 0(r31)
/* 80373368 7F 60 00 34 */ cntlzw r0, r27
/* 8037336C 54 03 D9 7E */ srwi r3, r0, 5
/* 80373370 70 80 04 05 */ andi. r0, r4, 0x405
/* 80373374 90 1F 00 00 */ stw r0, 0(r31)
/* 80373378 BB 41 00 28 */ lmw r26, 0x28(r1)
/* 8037337C 80 01 00 44 */ lwz r0, 0x44(r1)
/* 80373380 38 21 00 40 */ addi r1, r1, 0x40
/* 80373384 7C 08 03 A6 */ mtlr r0
/* 80373388 4E 80 00 20 */ blr