Introduce the "with" command
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.asm / xstormy16.inc
CommitLineData
105ba819
CV
1 comment "subroutine prologue"
2 .macro gdbasm_enter
3 push r13
4 mov r13,r15
5 .endm
6
7 comment "subroutine epilogue"
8 .macro gdbasm_leave
9 pop r13
10 ret
11 .endm
12
13 .macro gdbasm_call subr
14 callf \subr
15 .endm
16
17 .macro gdbasm_several_nops
18 add r0,#0
19 add r0,#0
20 add r0,#0
21 add r0,#0
22 .endm
23
24 comment "exit (0)"
25 .macro gdbasm_exit0
26 mov.w r2,#0
27 halt
28 .endm
29
30 comment "crt0 startup"
31 .macro gdbasm_startup
a99aee83 32 mov r15,#8
105ba819
CV
33 .endm
34
This page took 1.908355 seconds and 4 git commands to generate.