mirror of
https://github.com/pmret/papermario.git
synced 2024-11-14 06:52:35 +01:00
35 lines
1.4 KiB
ArmAsm
35 lines
1.4 KiB
ArmAsm
|
.set noat # allow manual use of $at
|
||
|
.set noreorder # don't insert nops after branches
|
||
|
|
||
|
|
||
|
glabel osFlashClearStatus
|
||
|
/* 04A69C 8006F29C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||
|
/* 04A6A0 8006F2A0 AFBF0014 */ sw $ra, 0x14($sp)
|
||
|
/* 04A6A4 8006F2A4 3C04800B */ lui $a0, 0x800b
|
||
|
/* 04A6A8 8006F2A8 24840C70 */ addiu $a0, $a0, 0xc70
|
||
|
/* 04A6AC 8006F2AC 3C05800B */ lui $a1, 0x800b
|
||
|
/* 04A6B0 8006F2B0 8CA50C7C */ lw $a1, 0xc7c($a1)
|
||
|
/* 04A6B4 8006F2B4 3C010001 */ lui $at, 1
|
||
|
/* 04A6B8 8006F2B8 00A17025 */ or $t6, $a1, $at
|
||
|
/* 04A6BC 8006F2BC 01C02825 */ or $a1, $t6, $zero
|
||
|
/* 04A6C0 8006F2C0 3C06D200 */ lui $a2, 0xd200
|
||
|
/* 04A6C4 8006F2C4 0C018358 */ jal osEPiWriteIo
|
||
|
/* 04A6C8 8006F2C8 00000000 */ nop
|
||
|
/* 04A6CC 8006F2CC 3C04800B */ lui $a0, 0x800b
|
||
|
/* 04A6D0 8006F2D0 24840C70 */ addiu $a0, $a0, 0xc70
|
||
|
/* 04A6D4 8006F2D4 3C05800B */ lui $a1, 0x800b
|
||
|
/* 04A6D8 8006F2D8 8CA50C7C */ lw $a1, 0xc7c($a1)
|
||
|
/* 04A6DC 8006F2DC 00003025 */ or $a2, $zero, $zero
|
||
|
/* 04A6E0 8006F2E0 0C018358 */ jal osEPiWriteIo
|
||
|
/* 04A6E4 8006F2E4 00000000 */ nop
|
||
|
/* 04A6E8 8006F2E8 10000003 */ b .L8006F2F8
|
||
|
/* 04A6EC 8006F2EC 00000000 */ nop
|
||
|
/* 04A6F0 8006F2F0 10000001 */ b .L8006F2F8
|
||
|
/* 04A6F4 8006F2F4 00000000 */ nop
|
||
|
.L8006F2F8:
|
||
|
/* 04A6F8 8006F2F8 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
/* 04A6FC 8006F2FC 27BD0018 */ addiu $sp, $sp, 0x18
|
||
|
/* 04A700 8006F300 03E00008 */ jr $ra
|
||
|
/* 04A704 8006F304 00000000 */ nop
|
||
|
|