19 lines
193 B
ArmAsm
19 lines
193 B
ArmAsm
.sect .text
|
|
.sect .rom
|
|
.sect .data
|
|
.sect .bss
|
|
|
|
.sect .bss
|
|
STACKSIZE = 512
|
|
.comm stack, STACKSIZE
|
|
|
|
.sect .text
|
|
_start:
|
|
sei ! disable interrupt
|
|
|
|
! setup stack
|
|
ldy.l #stack + STACKSIZE
|
|
txs
|
|
|
|
|