]> git.sur5r.net Git - cc65/commitdiff
Added some 65C02 code
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 28 Nov 2000 13:33:08 +0000 (13:33 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 28 Nov 2000 13:33:08 +0000 (13:33 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@487 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/runtime/pusha.s

index d8e90ac3e338710da7716b6b2afe6dee56378079..97d3154a854d07e2e83a7eef168e38bd5a0957be 100644 (file)
@@ -14,8 +14,12 @@ pushaysp:
 pusha: ldy     sp
                beq     @L1
        dec     sp
+.ifpc02
+       sta     (sp)
+.else
        ldy     #0
        sta     (sp),y
+.endif
        rts
 
 @L1:   dec     sp+1