repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gdb6
/
gdb
/
testsuite
/
gdb.asm
/
iq2000.inc
blob
f421ea0080ac81b6266a68bfdd40cdc2b8117ef1
1
comment "subroutine prologue"
2
.macro gdbasm_enter
3
addiu %29, %29, 0xfffc
4
sw %31,0(%29)
5
.endm
6
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
14
15
.macro gdbasm_call subr
16
jal \subr
17
nop
18
.endm
19
20
.macro gdbasm_several_nops
21
nop
22
nop
23
nop
24
nop
25
.endm
26
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
35
36
comment "crt0 startup"
37
.macro gdbasm_startup
38
andi %0, %0, 0
39
addiu %29, %0, 0xffc
40
.endm
41