diff options
Diffstat (limited to 'asm/crt0.s')
-rw-r--r-- | asm/crt0.s | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/asm/crt0.s b/asm/crt0.s index b93f6368d..4ccb9ca7c 100644 --- a/asm/crt0.s +++ b/asm/crt0.s @@ -3,22 +3,22 @@ RomBase: ; 8000000 .include "asm/rom_header.s" -_080000C0: +; 80000C0 .4byte 0 -_080000C4: +GPIOPortData: ; 80000C4 .2byte 0 -_080000C6: +GPIOPortDirection: ; 80000C6 .2byte 0 -_080000C8: - .4byte 0 +GPIOPortReadWrite: ; 80000C8 + .2byte 0 - .incbin "base_emerald.gba", 0xCC, 0x204 - 0xCC + .incbin "base_emerald.gba", 0xCA, 0x204 - 0xCA arm_func_start Init -Init: +Init: ; 8000204 mov r0, PSR_IRQ_MODE msr cpsr_cf, r0 ldr sp, sp_irq @@ -42,7 +42,7 @@ sp_irq: .4byte IWRAM_END - 0x60 arm_func_end Init arm_func_start InterruptMain -InterruptMain: +InterruptMain: ; 8000248 mov r3, REG_BASE add r3, r3, 0x200 ldr r2, [r3, OFFSET_REG_IE - 0x200] |