repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixes for host gcc 4.6.1
[zpugcc/jano.git]
/
toolchain
/
gcc
/
newlib
/
libc
/
machine
/
necv70
/
setjmp.s
blob
d8aca1dfbb2b81fb3425b11dfd623ec3b734cdac
1
.globl _setjmp
2
_setjmp
:
3
mov.w
[
ap
],
r0
4
mov.d
r15
,[
r0+
]
5
mov.d
r17
,[
r0+
]
6
mov.d
r19
,[
r0+
]
7
mov.d
r21
,[
r0+
]
8
mov.d
r23
,[
r0+
]
9
mov.w
-
0x4
[
ap
],[
r0+
]
10
mov.w fp
,[
r0+
]
11
mov.w ap
,[
r0+
]
12
mov.w
-
0x8
[
ap
],[
r0
]
13
xor.
w
r0
,
r0
14
ret
#0x0
15
16
.globl _longjmp
17
_longjmp
:
18
mov.w
0x4
[
ap
],
r0
19
mov.w
[
ap
],
r1
20
mov.d
[
r1+
],
r15
21
mov.d
[
r1+
],
r17
22
mov.d
[
r1+
],
r19
23
mov.d
[
r1+
],
r21
24
mov.d
[
r1+
],
r23
25
mov.d
[
r1+
],
ap
26
mov.w
[
r1+
],
sp
27
test.w
r0
28
jne noz
29
mov.w
#0x1,r0
30
noz
:
jmp
[
0x0
[
r1
]]
31
32
33