]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/gdb.asm/d10v.inc
Initial creation of sourceware repository
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.asm / d10v.inc
1 comment "subroutine prologue"
2 .macro enter
3 st r13,@-sp
4 .endm
5
6 comment "subroutine epilogue"
7 .macro leave
8 ld r13,@sp+
9 jmp r13
10 .endm
11
12 .macro call subr
13 bl \subr
14 .endm
15
16 .macro several_nops
17 nop
18 nop
19 nop
20 nop
21 .endm
22
23 comment "exit (0)"
24 .macro exit0
25 ldi r4, 1
26 ldi r0, 0
27 trap 15
28 .endm