Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gdb6 / gdb / testsuite / gdb.asm / iq2000.inc
blobf421ea0080ac81b6266a68bfdd40cdc2b8117ef1
1         comment "subroutine prologue"
2         .macro gdbasm_enter
3         addiu %29, %29, 0xfffc
4         sw %31,0(%29)
5         .endm
7         comment "subroutine epilogue"
8         .macro gdbasm_leave
9         lw %31,0(%29)
10         addiu %29, %29, 4
11         jr %31
12         nop
13         .endm
15         .macro gdbasm_call subr
16         jal \subr
17         nop
18         .endm
20         .macro gdbasm_several_nops
21         nop
22         nop
23         nop
24         nop
25         .endm
27         comment "exit (0)"
28         .macro gdbasm_exit0
29         ori  %4, %0, 1  # SYS_exit
30         ori  %5, %0, 0  # normal exit code
31         ori  %6, %0, 0
32         ori  %7, %0, 0
33         syscall
34         .endm
36         comment "crt0 startup"
37         .macro gdbasm_startup
38         andi %0, %0, 0
39         addiu %29, %0, 0xffc
40         .endm