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
/
v850.inc
blob
87977919f0c91ed20ad6e06821813f6e931d8b4a
1
comment "subroutine prologue"
2
.macro gdbasm_enter
3
add -8,sp
4
st.w r31,4[sp]
5
st.w r29,0[sp]
6
mov sp,r29
7
.endm
8
9
comment "subroutine epilogue"
10
.macro gdbasm_leave
11
mov r29,sp
12
ld.w 0[sp],r29
13
ld.w 4[sp],r31
14
add 8,sp
15
jmp [r31]
16
.endm
17
18
.macro gdbasm_call subr
19
jarl \subr,r31
20
.endm
21
22
.macro gdbasm_several_nops
23
nop
24
nop
25
nop
26
nop
27
.endm
28
29
comment "exit (0)"
30
.macro gdbasm_exit0
31
halt
32
.endm
33
34
comment "crt0 startup"
35
.macro gdbasm_startup
36
movea 255,r0,r20
37
mov r0, r21
38
ori 65535, r0, r21
39
movhi 32, r0, sp
40
.endm
41