]> git.sur5r.net Git - cc65/commitdiff
Fixed a bug in pushw0sp
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 23 Nov 2002 16:21:35 +0000 (16:21 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 23 Nov 2002 16:21:35 +0000 (16:21 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1604 b7a2c559-68d2-44c3-8de9-860c34a00d81

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
 
-                                  
+