papermario/ver/us/asm/nonmatchings/os/467f0_len_90/osSetGlobalIntMask.s
Ethan Roseman 33c9dda3a5
KMC GCC, effects, cleanup, map funcs (#476)
* warnings, cleanup, 2 npc ai funcs

* kmcgcc stuff

* effect_75

* effect_9.c done

* cleanup, work on kmc gcc

* start on fx_73

* guOrtho/guOrthoF

* more libultra/cleanup

* more libultra

* add wine for darwin

* effect_73 done

* UnkQuizFunc

* effect func naming

* name appendGfx funcs

* fix fx_66

* Add KMC wrapper to Jenkinsfile

* mac fixes

* fix macro usage

* oopz

* 3 fixes

* blah

* KMC_ASM

* config changes
2021-10-22 23:01:27 +09:00

21 lines
1.0 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel osSetGlobalIntMask
/* 467F0 8006B3F0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 467F4 8006B3F4 AFB00010 */ sw $s0, 0x10($sp)
/* 467F8 8006B3F8 AFBF0014 */ sw $ra, 0x14($sp)
/* 467FC 8006B3FC 0C01ACD8 */ jal __osDisableInt
/* 46800 8006B400 00808021 */ addu $s0, $a0, $zero
/* 46804 8006B404 3C038009 */ lui $v1, %hi(D_80095900)
/* 46808 8006B408 8C635900 */ lw $v1, %lo(D_80095900)($v1)
/* 4680C 8006B40C 00701825 */ or $v1, $v1, $s0
/* 46810 8006B410 3C018009 */ lui $at, %hi(D_80095900)
/* 46814 8006B414 AC235900 */ sw $v1, %lo(D_80095900)($at)
/* 46818 8006B418 0C01ACF4 */ jal __osRestoreInt
/* 4681C 8006B41C 00402021 */ addu $a0, $v0, $zero
/* 46820 8006B420 8FBF0014 */ lw $ra, 0x14($sp)
/* 46824 8006B424 8FB00010 */ lw $s0, 0x10($sp)
/* 46828 8006B428 03E00008 */ jr $ra
/* 4682C 8006B42C 27BD0018 */ addiu $sp, $sp, 0x18