mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
set interrupt handler to its own section
This commit is contained in:
parent
48b9eb3775
commit
41e192eff2
|
@ -2,7 +2,7 @@
|
||||||
@ An interrupt handler that simply acknowledges all interrupts
|
@ An interrupt handler that simply acknowledges all interrupts
|
||||||
.arm
|
.arm
|
||||||
.global InterruptHandler
|
.global InterruptHandler
|
||||||
.section .iwram, "ax", %progbits
|
.section .iwram.interrupt_handler, "ax", %progbits
|
||||||
.align
|
.align
|
||||||
InterruptHandler:
|
InterruptHandler:
|
||||||
mov r2, #0x04000000 @ interrupt enable register location
|
mov r2, #0x04000000 @ interrupt enable register location
|
||||||
|
|
Loading…
Reference in a new issue