4 * Created on: Aug 5, 2009
9 #include "aros/arm/asm.h"
13 .global AROS_CDEFNAME(setjmp)
14 .type AROS_CDEFNAME(setjmp),%function
16 AROS_CDEFNAME
(setjmp
):
17 mov ip
, r0 /* Get the env address */
18 str
lr, [ip
], #4 /* store return address explicitly */
19 stmia ip
!, {r4, r5, r6, r7, r8, r9, sl, fp
, sp
} /* store non-scratch regs */
20 mov
r0, #0 /* return zero */
29 fstmiax ip
!, {d8-d15
} /* Store VFP registers - we assume they are available! */
30 fmrx
r2, fpscr /* VFP condition codes */