Re: Help needed: small piece of assembler code for IRAF

2024-09-18 Thread Andreas Schwab
On Sep 18 2024, Ole Streicher wrote: > As IRAF is a 40-year old package, there was already some assembler that > was used ~35 years ago [2]: > > .text > .globl _zsvjmp_ > > JMPBUF = 4 > STATUS = 8 > > _zsvjmp_: |# CALL ZS

Help needed: small piece of assembler code for IRAF

2024-09-18 Thread Ole Streicher
Dear m68k enthusiasts, I am the maintainer of the "iraf" package [1]. Although most of the code is portable, it needs one piece of assembler code for each platform that provides a (sort of) setjmp for FORTRAN. A "C" implementation for this looks like: #include int zsvjmp_( long *buf, long