Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MorsGames
GitHub Repository: MorsGames/sm64plus
Path: blob/master/lib/asm/__osDisableInt.s
7858 views
1
.set noreorder // don't insert nops after branches
2
.set gp=64
3
4
#include "macros.inc"
5
6
7
.section .text, "ax"
8
9
10
glabel __osDisableInt
11
mfc0 $t0, $12
12
and $t1, $t0, -2
13
mtc0 $t1, $12
14
andi $v0, $t0, 1
15
nop
16
jr $ra
17
nop
18
19
20