mirror of
https://github.com/n64decomp/mk64
synced 2026-05-24 15:01:10 -04:00
7025ff0ca1
* update libultra asm * fix gcc __osThreadTail --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
20 lines
245 B
ArmAsm
20 lines
245 B
ArmAsm
.set noreorder # don't insert nops after branches
|
|
.set gp=64
|
|
|
|
.include "macros.inc"
|
|
|
|
|
|
.section .text, "ax"
|
|
|
|
glabel __osRestoreInt
|
|
mfc0 $t0, C0_SR
|
|
or $t0, $t0, $a0
|
|
mtc0 $t0, C0_SR
|
|
nop
|
|
nop
|
|
jr $ra
|
|
nop
|
|
|
|
nop
|
|
|