Files
mk64/asm/os/__osDisableInt.s
coco875 7025ff0ca1 update libultra asm (#648)
* update libultra asm

* fix gcc __osThreadTail

---------

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2024-08-22 23:31:24 -06:00

19 lines
244 B
ArmAsm

.set noreorder # don't insert nops after branches
.set gp=64
.include "macros.inc"
.section .text, "ax"
glabel __osDisableInt
mfc0 $t0, C0_SR
and $t1, $t0, ~SR_IE
mtc0 $t1, C0_SR
andi $v0, $t0, SR_IE
nop
jr $ra
nop