]> 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 ed8cecb2abeea89142ec721116245a1e3dced2ce..6e9735485fccf758aeef27f62d8c57d7e1495ce7 100644 (file)
@@ -10,7 +10,7 @@
        .macpack        generic
 
 pushw0sp:
-       ldy     #2
+       ldy     #3
 pushwysp:
        lda     sp              ; 3
                sub     #2              ; 4
@@ -28,4 +28,4 @@ pushwysp:
        sta     (sp),y          ; 5
        rts
 
-                                  
+