]> git.sur5r.net Git - cc65/blobdiff - libsrc/runtime/incsp7.s
no TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES
[cc65] / libsrc / runtime / incsp7.s
index 48fc91a694d7fcf79aaceb3eb2981156c7c875c3..417700fe9cf5fb2f761ef6d8726497d048519ed0 100644 (file)
@@ -1,24 +1,20 @@
 ;
-; Ullrich von Bassewitz, 2003-05-04
+; Ullrich von Bassewitz, 25.10.2000
 ;
 ; CC65 runtime: Increment the stackpointer by 7
 ;
 
                .export         incsp7
-        .importzp       sp
+       .import         addysp
 
 .proc  incsp7
 
-        lda     sp
-        clc
-        adc     #7
-        sta     sp
-        bcs     @L1
-        rts
-
-@L1:    inc     sp+1
-        rts
+       ldy     #7
+       jmp     addysp
 
 .endproc
 
-                  
+
+
+
+