papermario/asm/nonmatchings/os/code_47ae0_len_e0/osSpSetPc.s

19 lines
763 B
ArmAsm
Raw Normal View History

2020-09-24 05:16:13 +02:00
.set noat # allow manual use of $at
2020-08-04 08:49:11 +02:00
.set noreorder # don't insert nops after branches
glabel osSpSetPc
2020-09-24 05:16:13 +02:00
/* 47B00 8006C700 3C02A404 */ lui $v0, 0xa404
/* 47B04 8006C704 34420010 */ ori $v0, $v0, 0x10
/* 47B08 8006C708 8C420000 */ lw $v0, ($v0)
/* 47B0C 8006C70C 30420001 */ andi $v0, $v0, 1
/* 47B10 8006C710 10400004 */ beqz $v0, .L8006C724
/* 47B14 8006C714 3C02A408 */ lui $v0, 0xa408
/* 47B18 8006C718 AC440000 */ sw $a0, ($v0)
/* 47B1C 8006C71C 0801B1CA */ j .L8006C728
/* 47B20 8006C720 00001021 */ addu $v0, $zero, $zero
2020-08-04 08:49:11 +02:00
.L8006C724:
2020-09-24 05:16:13 +02:00
/* 47B24 8006C724 2402FFFF */ addiu $v0, $zero, -1
2020-08-04 08:49:11 +02:00
.L8006C728:
2020-09-24 05:16:13 +02:00
/* 47B28 8006C728 03E00008 */ jr $ra
/* 47B2C 8006C72C 00000000 */ nop