1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- Replaced rows of blank spaces by tabs.

git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15168 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2006-11-16 10:09:20 +00:00
parent c635fb3ffe
commit 75b0a762ef
2 changed files with 277 additions and 277 deletions

View File

@ -1,5 +1,5 @@
|
| $Id: nrcrt0.S,v 1.5 2006-01-08 12:04:24 obarthel Exp $
| $Id: nrcrt0.S,v 1.6 2006-11-16 10:09:20 obarthel Exp $
|
| :ts=4
|

View File

@ -1,5 +1,5 @@
/*
* $Id: stdlib_setjmp.c,v 1.4 2006-01-08 12:04:26 obarthel Exp $
* $Id: stdlib_setjmp.c,v 1.5 2006-11-16 10:09:20 obarthel Exp $
*
* :ts=4
*
@ -146,9 +146,9 @@ _longjmp: \n\
movel sp@(8),d0 | (int) status \n\
\n\
tstl d0 \n\
bne l1 | skip the following if result is non-zero\n\
bne l1 | skip the following if result is non-zero \n\
\n\
moveq #1,d0 | make sure that the result is always non-zero\n\
moveq #1,d0 | make sure that the result is always non-zero \n\
\n\
l1: moveal "A4(_SysBase)",a1 \n\
btst #AFB_68881,a1@(AttnFlags:W) | is there an FPU installed? \n\
@ -157,9 +157,9 @@ l1: moveal "A4(_SysBase)",a1 \n\
fmovemx a0@(64:W),fp0-fp7 | restore all floating point registers \n\
\n\
l2: moveml a0@(4:W),d1-d7 | restore all data registers \n\
moveml a0@(36:W),a1-a7 | restore almost all address registers, except for A0\n\
moveml a0@(36:W),a1-a7 | restore almost all address registers, except for A0 \n\
movel a0@,sp@ | restore A0 \n\
moveal a0@(32:W),a0 | and return to the address setjmp() was called from\n\
moveal a0@(32:W),a0 | and return to the address setjmp() was called from \n\
rts \n\
\n\
");
@ -186,7 +186,7 @@ _setjmp: \n\
movel a0,sp@- | save A0 \n\
moveal sp@(8),a0 | (struct __jmp_buf *) env \n\
movel sp@(4),a0@ | remember the return address \n\
moveml d1-a6,a0@(4:W) | save all registers, except for D0 and A7\n\
moveml d1-a6,a0@(4:W) | save all registers, except for D0 and A7 \n\
movel sp@+,a0@(32:W) | put the old A0 where it belongs \n\
movel sp,a0@(60:W) | put the old A7 where it belongs \n\
moveq #0,d0 | always return 0 \n\
@ -214,18 +214,18 @@ _longjmp: \n\
movel sp@(8),d2 | (int) status \n\
\n\
tstl d2 \n\
bne l1 | skip the following if result is non-zero\n\
bne l1 | skip the following if result is non-zero \n\
\n\
moveq #1,d2 | make sure that the result is always non-zero\n\
moveq #1,d2 | make sure that the result is always non-zero \n\
\n\
l1: movel a0@(60:W),d0 | get the stack pointer address to restore\n\
l1: movel a0@(60:W),d0 | get the stack pointer address to restore \n\
jbsr ___stkrst | restore the stack frame \n\
movel d2,d0 | get the return code back \n\
\n\
moveml a0@(4:W),d1-d7 | restore all data registers \n\
moveml a0@(36:W),a1-a7 | restore almost all address registers, except for A0\n\
moveml a0@(36:W),a1-a7 | restore almost all address registers, except for A0 \n\
movel a0@,sp@ | restore A0 \n\
moveal a0@(32:W),a0 | and return to the address setjmp() was called from\n\
moveal a0@(32:W),a0 | and return to the address setjmp() was called from \n\
rts \n\
\n\
");
@ -249,14 +249,14 @@ _longjmp: \n\
movel sp@(8),d0 | (int) status \n\
\n\
tstl d0 \n\
bne l1 | skip the following if result is non-zero\n\
bne l1 | skip the following if result is non-zero \n\
\n\
moveq #1,d0 | make sure that the result is always non-zero\n\
moveq #1,d0 | make sure that the result is always non-zero \n\
\n\
l1: moveml a0@(4:W),d1-d7 | restore all data registers \n\
moveml a0@(36:W),a1-a7 | restore almost all address registers, except for A0\n\
moveml a0@(36:W),a1-a7 | restore almost all address registers, except for A0 \n\
movel a0@,sp@ | restore A0 \n\
moveal a0@(32:W),a0 | and return to the address setjmp() was called from\n\
moveal a0@(32:W),a0 | and return to the address setjmp() was called from \n\
rts \n\
\n\
");