papermario/asm/nonmatchings/os/code_45df0_len_970/next_interrupt.s
2020-08-12 21:56:23 -04:00

23 lines
865 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.include "include/macro.inc"
glabel next_interrupt
.L8006AC0C:
/* 04600C 8006AC0C 3209FF00 */ andi $t1, $s0, 0xff00
/* 046010 8006AC10 00095302 */ srl $t2, $t1, 0xc
/* 046014 8006AC14 15400003 */ bnez $t2, .L8006AC24
/* 046018 8006AC18 00000000 */ nop
/* 04601C 8006AC1C 00095202 */ srl $t2, $t1, 8
/* 046020 8006AC20 214A0010 */ addi $t2, $t2, 0x10
.L8006AC24:
/* 046024 8006AC24 3C01800A */ lui $at, 0x800a
/* 046028 8006AC28 002A0821 */ addu $at, $at, $t2
/* 04602C 8006AC2C 902A9D80 */ lbu $t2, -0x6280($at)
/* 046030 8006AC30 3C01800A */ lui $at, 0x800a
/* 046034 8006AC34 002A0821 */ addu $at, $at, $t2
/* 046038 8006AC38 8C2A9DA0 */ lw $t2, -0x6260($at)
/* 04603C 8006AC3C 01400008 */ jr $t2
/* 046040 8006AC40 00000000 */ nop