sm64/lib/asm/__os_eu_802ef550.s

22 lines
378 B
ArmAsm
Raw Normal View History

2020-02-03 00:51:26 -05:00
.set noat
2023-08-17 08:56:02 -04:00
.set noreorder // don't insert nops after branches
2020-02-03 00:51:26 -05:00
2021-07-12 23:17:54 -04:00
#include "macros.inc"
2020-02-03 00:51:26 -05:00
.section .text, "ax"
2021-07-12 23:17:54 -04:00
// cache related
2020-02-03 00:51:26 -05:00
glabel __os_eu_802ef550
lui $t0,0x8000
li $t2,0x2000
addu $t1,$t0,$t2
addiu $t1,$t1,-0x10
.L: cache 0x1,0($t0)
sltu $at,$t0,$t1
bnez $at,.L
addiu $t0,$t0,0x10
jr $ra
nop
nop
nop