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

47 lines
1.9 KiB
ArmAsm

lbl_80373204:
/* 80373204 7C 08 02 A6 */ mflr r0
/* 80373208 38 80 00 02 */ li r4, 2
/* 8037320C 90 01 00 04 */ stw r0, 4(r1)
/* 80373210 3C 00 40 00 */ lis r0, 0x4000
/* 80373214 94 21 FF C8 */ stwu r1, -0x38(r1)
/* 80373218 BF 61 00 24 */ stmw r27, 0x24(r1)
/* 8037321C 3F C0 CC 00 */ lis r30, 0xCC00 /* 0xCC006800@ha */
/* 80373220 3B 63 00 00 */ addi r27, r3, 0
/* 80373224 3B BE 68 00 */ addi r29, r30, 0x6800 /* 0xCC006800@l */
/* 80373228 38 61 00 18 */ addi r3, r1, 0x18
/* 8037322C 80 BE 68 28 */ lwz r5, 0x6828(r30)
/* 80373230 70 A5 04 05 */ andi. r5, r5, 0x405
/* 80373234 60 A5 00 C0 */ ori r5, r5, 0xc0
/* 80373238 94 BD 00 28 */ stwu r5, 0x28(r29)
/* 8037323C 38 A0 00 01 */ li r5, 1
/* 80373240 90 01 00 18 */ stw r0, 0x18(r1)
/* 80373244 48 00 02 D1 */ bl DBGEXIImm
/* 80373248 7C 60 00 34 */ cntlzw r0, r3
/* 8037324C 54 1F D9 7E */ srwi r31, r0, 5
lbl_80373250:
/* 80373250 3B 9E 68 00 */ addi r28, r30, 0x6800
/* 80373254 84 1C 00 34 */ lwzu r0, 0x34(r28)
/* 80373258 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 8037325C 40 82 FF F4 */ bne lbl_80373250
/* 80373260 38 7B 00 00 */ addi r3, r27, 0
/* 80373264 38 80 00 04 */ li r4, 4
/* 80373268 38 A0 00 00 */ li r5, 0
/* 8037326C 48 00 02 A9 */ bl DBGEXIImm
/* 80373270 7C 60 00 34 */ cntlzw r0, r3
/* 80373274 54 00 D9 7E */ srwi r0, r0, 5
/* 80373278 7F E3 03 78 */ or r3, r31, r0
lbl_8037327C:
/* 8037327C 80 1C 00 00 */ lwz r0, 0(r28)
/* 80373280 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 80373284 40 82 FF F8 */ bne lbl_8037327C
/* 80373288 80 9D 00 00 */ lwz r4, 0(r29)
/* 8037328C 7C 60 00 34 */ cntlzw r0, r3
/* 80373290 54 03 D9 7E */ srwi r3, r0, 5
/* 80373294 70 80 04 05 */ andi. r0, r4, 0x405
/* 80373298 90 1D 00 00 */ stw r0, 0(r29)
/* 8037329C BB 61 00 24 */ lmw r27, 0x24(r1)
/* 803732A0 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 803732A4 38 21 00 38 */ addi r1, r1, 0x38
/* 803732A8 7C 08 03 A6 */ mtlr r0
/* 803732AC 4E 80 00 20 */ blr