1 comment "subroutine prologue"
8 comment "subroutine epilogue"
16 .macro gdbasm_call subr
20 .macro gdbasm_several_nops
34 comment "crt0 startup"
36 ; R14 always contains memory base address (0)
40 ; Set the USER and SYSTEM stack pointers.
42 ldi r0, 0 ; zero arguments
44 mvtc r0, psw ; select SPI and set it
46 ldi r10, 0x8000 ; select SPU/FP and set it
47 mvtc r10, psw || ldi r11, 0; clear stack frame
48 ldi sp, _stack - 0x200