1 # You'll find a bunch of nop opcodes in the below macros. They are
2 # there to keep the code correctly aligned. Be careful to maintain
3 # them when changing the code.
5 comment "subroutine declare"
7 .macro gdbasm_declare name
13 comment "subroutine prologue"
21 comment "subroutine epilogue"
31 comment "subroutine end"
33 .macro gdbasm_end name
34 .size \name, . - \name
38 comment "subroutine call"
39 .macro gdbasm_call subr
53 .macro gdbasm_several_nops
66 comment "crt0 startup"
68 comment "If there is a _stack symbol, use it for setting up the stack"
69 comment "pointer. In hosted mode (when there is no _stack symbol),"
70 comment "the operating system will have initialized it already."
85 comment "Declare a data variable"
86 .purgem gdbasm_datavar
87 .macro gdbasm_datavar name value