1	comment "subroutine prologue"
2	.macro gdbasm_enter
3	link	%a6,#0
4	.endm
5
6	comment "subroutine epilogue"
7	.macro gdbasm_leave
8	unlk	%a6
9	rts
10	.endm
11
12	.macro gdbasm_call subr
13	jbsr	\subr
14	.endm
15
16	.macro gdbasm_several_nops
17	nop
18	nop
19	nop
20	nop
21	.endm
22
23	comment "exit (0)"
24	.macro gdbasm_exit0
25	illegal
26	.endm
27
28	comment "crt0 startup"
29	.macro gdbasm_startup
30	lea	0,%a6
31	.endm
32
33	comment "Declare a data variable"
34	.macro gdbasm_datavar name value
35	.data
36\name:
37	.long	\value
38	.endm
39