2 ; Ullrich von Bassewitz, 06.06.1998
4 ; void longjmp (jmp_buf buf, int retval);
9 .importzp sp, ptr1, ptr2
12 sta ptr2 ; Save retval
19 ; Get the old parameter stack
28 ; Get the old stack pointer
35 ; Get the return address and push it on the stack
43 ; Load the return value and return to the caller