summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.asm/d10v.inc
blob: e39a49839ece79e9631729a21f2cb3d0dd74f95e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
	comment "subroutine prologue"
	.macro enter
	st r13,@-sp
	.endm

	comment "subroutine epilogue"
	.macro leave
	ld r13,@sp+
	jmp r13
	.endm

	.macro call subr
	bl \subr
	.endm

	.macro several_nops
	nop
	nop
	nop
	nop
	.endm

	comment "exit (0)"
	.macro exit0
	ldi r4, 1
	ldi r0, 0
	trap 15
	.endm