Upload Tizen:Base source
[external/gdb.git] / gdb / testsuite / gdb.asm / m32c.inc
1         comment "subroutine prologue"
2         .macro gdbasm_enter
3         enter #0
4         .endm
5
6         comment "subroutine epilogue"
7         .macro gdbasm_leave
8         exitd
9         .endm
10
11         .macro gdbasm_call subr
12         jsr.a \subr
13         .endm
14
15         .macro gdbasm_several_nops
16         nop
17         nop
18         nop
19         nop
20         .endm
21
22         comment "exit (0)"
23         .macro gdbasm_exit0
24         mov.w #0, r1
25         mov.b #1, r0l
26         ste.b r0l,0xe0000
27         .endm
28
29         comment "crt0 startup"
30         .macro gdbasm_startup
31         ldc #0xfc00, sp
32         .endm
33