papermario/asm/os/__osGetCause.s

15 lines
408 B
ArmAsm
Raw Normal View History

2021-02-08 13:13:38 +01:00
.include "macro.inc"
# assembler directives
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
2021-02-08 13:13:38 +01:00
.set gp=64 # allow use of 64-bit general purpose registers
.section .text, "ax"
2020-08-04 08:49:11 +02:00
2021-02-08 13:13:38 +01:00
glabel __osGetCause
2020-09-24 05:16:13 +02:00
/* 47A60 8006C660 40026800 */ mfc0 $v0, $13
/* 47A64 8006C664 03E00008 */ jr $ra
2021-01-11 13:40:52 +01:00
/* 47A68 8006C668 00000000 */ nop
/* 47A6C 8006C66C 00000000 */ nop