From c906108c21474dfb4ed285bcc0ac6fe02cd400cc Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Fri, 16 Apr 1999 01:35:26 +0000 Subject: Initial creation of sourceware repository --- gdb/testsuite/gdb.asm/d10v.inc | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 gdb/testsuite/gdb.asm/d10v.inc (limited to 'gdb/testsuite/gdb.asm/d10v.inc') diff --git a/gdb/testsuite/gdb.asm/d10v.inc b/gdb/testsuite/gdb.asm/d10v.inc new file mode 100644 index 0000000..e39a498 --- /dev/null +++ b/gdb/testsuite/gdb.asm/d10v.inc @@ -0,0 +1,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 -- cgit v1.1