papermario/asm/nonmatchings/os/code_48be0_len_20/osSiDeviceBusy.s

13 lines
514 B
ArmAsm
Raw Normal View History

2020-09-24 05:16:13 +02:00
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
2020-04-26 06:13:18 +02:00
2020-08-01 18:55:49 +02:00
glabel osSiDeviceBusy
2020-09-24 05:16:13 +02:00
/* 48BE0 8006D7E0 3C02A480 */ lui $v0, 0xa480
/* 48BE4 8006D7E4 34420018 */ ori $v0, $v0, 0x18
/* 48BE8 8006D7E8 8C420000 */ lw $v0, ($v0)
/* 48BEC 8006D7EC 30420003 */ andi $v0, $v0, 3
/* 48BF0 8006D7F0 03E00008 */ jr $ra
/* 48BF4 8006D7F4 0002102B */ sltu $v0, $zero, $v0
/* 48BF8 8006D7F8 00000000 */ nop
/* 48BFC 8006D7FC 00000000 */ nop