summaryrefslogtreecommitdiff
path: root/asm/crt0.s
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-01-06 20:44:58 -0800
committerYamaArashi <shadow962@live.com>2016-01-06 20:44:58 -0800
commitc14df031ad7e4a30bb58b9c1712c1ee672e10657 (patch)
treee86843b30ac3f1f2624611ca53fb9818afe383a9 /asm/crt0.s
parent8c312b28ab84dfd8b4c1ce9dd520f4cddef6c00a (diff)
use $ for local labels
Diffstat (limited to 'asm/crt0.s')
-rw-r--r--asm/crt0.s28
1 files changed, 14 insertions, 14 deletions
diff --git a/asm/crt0.s b/asm/crt0.s
index efa8d9cab..4ceaba2af 100644
--- a/asm/crt0.s
+++ b/asm/crt0.s
@@ -54,51 +54,51 @@ InterruptMain: ; 8000248
and r1, r2, r2, lsr 16
mov r12, 0
ands r0, r1, INTR_FLAG_VCOUNT
- bne .foundInterrupt
+ bne $foundInterrupt
add r12, r12, 0x4
mov r0, 0x1
strh r0, [r3, OFFSET_REG_IME - 0x200]
ands r0, r1, INTR_FLAG_SERIAL
- bne .foundInterrupt
+ bne $foundInterrupt
add r12, r12, 0x4
ands r0, r1, INTR_FLAG_TIMER3
- bne .foundInterrupt
+ bne $foundInterrupt
add r12, r12, 0x4
ands r0, r1, INTR_FLAG_HBLANK
- bne .foundInterrupt
+ bne $foundInterrupt
add r12, r12, 0x4
ands r0, r1, INTR_FLAG_VBLANK
- bne .foundInterrupt
+ bne $foundInterrupt
add r12, r12, 0x4
ands r0, r1, INTR_FLAG_TIMER0
- bne .foundInterrupt
+ bne $foundInterrupt
add r12, r12, 0x4
ands r0, r1, INTR_FLAG_TIMER1
- bne .foundInterrupt
+ bne $foundInterrupt
add r12, r12, 0x4
ands r0, r1, INTR_FLAG_TIMER2
- bne .foundInterrupt
+ bne $foundInterrupt
add r12, r12, 0x4
ands r0, r1, INTR_FLAG_DMA0
- bne .foundInterrupt
+ bne $foundInterrupt
add r12, r12, 0x4
ands r0, r1, INTR_FLAG_DMA1
- bne .foundInterrupt
+ bne $foundInterrupt
add r12, r12, 0x4
ands r0, r1, INTR_FLAG_DMA2
- bne .foundInterrupt
+ bne $foundInterrupt
add r12, r12, 0x4
ands r0, r1, INTR_FLAG_DMA3
- bne .foundInterrupt
+ bne $foundInterrupt
add r12, r12, 0x4
ands r0, r1, INTR_FLAG_KEYPAD
- bne .foundInterrupt
+ bne $foundInterrupt
add r12, r12, 0x4
ands r0, r1, INTR_FLAG_GAMEPAK
strbne r0, [r3, OFFSET_REG_SOUNDCNT_X - 0x200]
@loop:
bne @loop
-.foundInterrupt:
+$foundInterrupt:
strh r0, [r3, OFFSET_REG_IF - 0x200]
bic r2, r2, r0
ldr r0, =0x03007868