papermario/asm/nonmatchings/os/code_3ccd0_len_30/osWritebackDCacheAll.s
Ethan Roseman 0286743ae5 asm update
2020-12-10 16:11:43 +09:00

18 lines
746 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel osWritebackDCacheAll
/* 3CCD0 800618D0 3C088000 */ lui $t0, 0x8000
/* 3CCD4 800618D4 240A2000 */ addiu $t2, $zero, 0x2000
/* 3CCD8 800618D8 010A4821 */ addu $t1, $t0, $t2
/* 3CCDC 800618DC 2529FFF0 */ addiu $t1, $t1, -0x10
.L800618E0:
/* 3CCE0 800618E0 BD010000 */ cache 1, ($t0)
/* 3CCE4 800618E4 0109082B */ sltu $at, $t0, $t1
/* 3CCE8 800618E8 1420FFFD */ bnez $at, .L800618E0
/* 3CCEC 800618EC 25080010 */ addiu $t0, $t0, 0x10
/* 3CCF0 800618F0 03E00008 */ jr $ra
/* 3CCF4 800618F4 00000000 */ nop
/* 3CCF8 800618F8 00000000 */ nop
/* 3CCFC 800618FC 00000000 */ nop