fix setjmp.h

This commit is contained in:
mrdudz
2022-08-28 20:05:11 +02:00
parent ce6ee1b891
commit 8e5f6b822d
2 changed files with 5 additions and 5 deletions

View File

@@ -2,15 +2,15 @@
; 1998-06-06, Ullrich von Bassewitz
; 2015-09-11, Greg King
;
; int __fastcall__ setjmp (jmp_buf buf);
; int __fastcall__ __setjmp (jmp_buf buf);
;
.export __setjmp
.export ___setjmp
.import return0
.importzp sp, ptr1
__setjmp:
___setjmp:
sta ptr1 ; Save buf
stx ptr1+1
ldy #0