You've already forked ultrasm64-2
mirror of
https://github.com/HackerN64/ultrasm64-2.git
synced 2026-01-21 10:38:08 -08:00
17 lines
247 B
ArmAsm
17 lines
247 B
ArmAsm
.set noreorder // don't insert nops after branches
|
|
|
|
#include "macros.inc"
|
|
|
|
#include <PR/R4300.h>
|
|
|
|
.section .text, "ax"
|
|
|
|
glabel __osRestoreInt
|
|
mfc0 $t0, C0_SR
|
|
or $t0, $t0, $a0
|
|
mtc0 $t0, C0_SR
|
|
nop
|
|
nop
|
|
jr $ra
|
|
nop
|