mirror of https://github.com/zeldaret/tp.git
43 lines
1.8 KiB
ArmAsm
43 lines
1.8 KiB
ArmAsm
lbl_80373020:
|
|
/* 80373020 7C 08 02 A6 */ mflr r0
|
|
/* 80373024 38 60 00 00 */ li r3, 0
|
|
/* 80373028 90 01 00 04 */ stw r0, 4(r1)
|
|
/* 8037302C 94 21 FF E8 */ stwu r1, -0x18(r1)
|
|
/* 80373030 93 E1 00 14 */ stw r31, 0x14(r1)
|
|
/* 80373034 80 0D 94 5C */ lwz r0, RecvDataLeng(r13)
|
|
/* 80373038 98 6D 94 64 */ stb r3, data_804519E4(r13)
|
|
/* 8037303C 2C 00 00 00 */ cmpwi r0, 0
|
|
/* 80373040 40 82 00 64 */ bne lbl_803730A4
|
|
/* 80373044 4B FC A6 B1 */ bl OSDisableInterrupts
|
|
/* 80373048 3B E3 00 00 */ addi r31, r3, 0
|
|
/* 8037304C 38 61 00 08 */ addi r3, r1, 8
|
|
/* 80373050 48 00 01 B5 */ bl DBGReadStatus
|
|
/* 80373054 80 01 00 08 */ lwz r0, 8(r1)
|
|
/* 80373058 54 00 07 FF */ clrlwi. r0, r0, 0x1f
|
|
/* 8037305C 41 82 00 40 */ beq lbl_8037309C
|
|
/* 80373060 38 61 00 08 */ addi r3, r1, 8
|
|
/* 80373064 48 00 04 05 */ bl DBGReadMailbox
|
|
/* 80373068 80 01 00 08 */ lwz r0, 8(r1)
|
|
/* 8037306C 54 00 00 FE */ clrlwi r0, r0, 3
|
|
/* 80373070 90 01 00 08 */ stw r0, 8(r1)
|
|
/* 80373074 80 81 00 08 */ lwz r4, 8(r1)
|
|
/* 80373078 54 83 00 CE */ rlwinm r3, r4, 0, 3, 7
|
|
/* 8037307C 3C 03 E1 00 */ addis r0, r3, 0xe100
|
|
/* 80373080 28 00 00 00 */ cmplwi r0, 0
|
|
/* 80373084 40 82 00 18 */ bne lbl_8037309C
|
|
/* 80373088 54 83 04 7E */ clrlwi r3, r4, 0x11
|
|
/* 8037308C 90 8D 94 58 */ stw r4, SendMailData(r13)
|
|
/* 80373090 38 00 00 01 */ li r0, 1
|
|
/* 80373094 90 6D 94 5C */ stw r3, RecvDataLeng(r13)
|
|
/* 80373098 98 0D 94 64 */ stb r0, data_804519E4(r13)
|
|
lbl_8037309C:
|
|
/* 8037309C 7F E3 FB 78 */ mr r3, r31
|
|
/* 803730A0 4B FC A6 7D */ bl OSRestoreInterrupts
|
|
lbl_803730A4:
|
|
/* 803730A4 80 6D 94 5C */ lwz r3, RecvDataLeng(r13)
|
|
/* 803730A8 80 01 00 1C */ lwz r0, 0x1c(r1)
|
|
/* 803730AC 83 E1 00 14 */ lwz r31, 0x14(r1)
|
|
/* 803730B0 38 21 00 18 */ addi r1, r1, 0x18
|
|
/* 803730B4 7C 08 03 A6 */ mtlr r0
|
|
/* 803730B8 4E 80 00 20 */ blr
|