Andreas Schwab
2024-09-18 22:10:01 UTC
As IRAF is a 40-year old package, there was already some assembler that
.text
.globl _zsvjmp_
JMPBUF = 4
STATUS = 8
_zsvjmp_: |# CALL ZSVJMP (JMPBUF, STATUS)
jmp _setjmp |# let setjmp do the rest.
However, just including this does not work because assembler syntax
changed [3].
Registers need to be prefixed with %, and assembler labels for C symbols.text
.globl _zsvjmp_
JMPBUF = 4
STATUS = 8
_zsvjmp_: |# CALL ZSVJMP (JMPBUF, STATUS)
jmp _setjmp |# let setjmp do the rest.
However, just including this does not work because assembler syntax
changed [3].
do not have a _ prefix.
--
Andreas Schwab, ***@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Andreas Schwab, ***@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."