papermario/asm/nonmatchings/os/osGetThreadPri/osGetThreadPri.s

19 lines
515 B
ArmAsm
Raw Normal View History

2020-08-04 08:49:11 +02:00
.set noat # allow manual use of $at
2020-07-29 05:35:42 +02:00
.set noreorder # don't insert nops after branches
2020-08-04 08:49:11 +02:00
.include "include/macro.inc"
2020-07-29 05:35:42 +02:00
2020-08-01 18:55:49 +02:00
glabel osGetThreadPri
2020-07-29 05:35:42 +02:00
/* 041330 80065F30 14800003 */ bnez $a0, .L80065F40
/* 041334 80065F34 00000000 */ nop
/* 041338 80065F38 3C048009 */ lui $a0, 0x8009
/* 04133C 80065F3C 8C844660 */ lw $a0, 0x4660($a0)
.L80065F40:
/* 041340 80065F40 03E00008 */ jr $ra
/* 041344 80065F44 8C820004 */ lw $v0, 4($a0)
/* 041348 80065F48 00000000 */ nop
/* 04134C 80065F4C 00000000 */ nop
2020-08-06 06:11:15 +02:00