papermario/asm/os/__osRestoreInt.s

19 lines
585 B
ArmAsm
Raw Normal View History

2020-11-13 07:17:53 +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
2020-11-13 07:17:53 +01:00
.set gp=64 # allow use of 64-bit general purpose registers
.section .text, "ax"
2020-08-04 08:49:11 +02:00
glabel __osRestoreInt
2020-09-24 05:16:13 +02:00
/* 467D0 8006B3D0 40086000 */ mfc0 $t0, $12
/* 467D4 8006B3D4 01044025 */ or $t0, $t0, $a0
/* 467D8 8006B3D8 40886000 */ mtc0 $t0, $12
2021-01-11 13:40:52 +01:00
/* 467DC 8006B3DC 00000000 */ nop
/* 467E0 8006B3E0 00000000 */ nop
2020-09-24 05:16:13 +02:00
/* 467E4 8006B3E4 03E00008 */ jr $ra
2021-01-11 13:40:52 +01:00
/* 467E8 8006B3E8 00000000 */ nop
/* 467EC 8006B3EC 00000000 */ nop