mirror of https://github.com/pret/pokeemerald.git
15 lines
395 B
ArmAsm
15 lines
395 B
ArmAsm
|
.set PSR_USR_MODE, 0x00000010
|
||
|
.set PSR_FIQ_MODE, 0x00000011
|
||
|
.set PSR_IRQ_MODE, 0x00000012
|
||
|
.set PSR_SVC_MODE, 0x00000013
|
||
|
.set PSR_ABT_MODE, 0x00000017
|
||
|
.set PSR_UND_MODE, 0x0000001b
|
||
|
.set PSR_SYS_MODE, 0x0000001f
|
||
|
|
||
|
.set EWRAM_START, 0x02000000
|
||
|
.set EWRAM_END, EWRAM_START + 0x40000
|
||
|
.set IWRAM_START, 0x03000000
|
||
|
.set IWRAM_END, IWRAM_START + 0x8000
|
||
|
|
||
|
.set INTR_VECTOR, IWRAM_END - 0x4
|