1 comment "subroutine prologue"
8 comment "subroutine epilogue"
15 .macro gdbasm_call subr
19 .macro gdbasm_several_nops
33 comment "crt0 startup"
40 ; the linker script maps the data section in ROM (LMA) for its initial
41 ; content and in RAM (VMA) for its runtime value. We have to do
42 ; what the default crt0 does: copy the ROM part in RAM.
43 ; (otherwise any 'globalvar' appears uninitialized)
45 ldy #__data_section_start
60 comment "Declare a data variable"
61 .purgem gdbasm_datavar
62 .macro gdbasm_datavar name value