]> git.sur5r.net Git - cc65/blobdiff - libsrc/runtime/pushwsp.s
no TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES
[cc65] / libsrc / runtime / pushwsp.s
index d6baf9933f4dbadfffe9cf57ab849302649318e0..6e9735485fccf758aeef27f62d8c57d7e1495ce7 100644 (file)
@@ -1,17 +1,16 @@
 ;
-; Ullrich von Bassewitz, 31.08.1998
+; Ullrich von Bassewitz, 24.10.2001
 ;
 ; CC65 runtime: Load word from stack slot and push
 ;
 
                .export         pushwysp, pushw0sp
-       .import         pushax
        .importzp       sp
 
        .macpack        generic
 
 pushw0sp:
-       ldy     #2
+       ldy     #3
 pushwysp:
        lda     sp              ; 3
                sub     #2              ; 4
@@ -29,3 +28,4 @@ pushwysp:
        sta     (sp),y          ; 5
        rts
 
+