From: cuz Date: Tue, 28 Nov 2000 13:33:08 +0000 (+0000) Subject: Added some 65C02 code X-Git-Tag: V2.12.0~3049 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4f0664bea0b6c52df08451e21d64d214908ffbaf;p=cc65 Added some 65C02 code git-svn-id: svn://svn.cc65.org/cc65/trunk@487 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/runtime/pusha.s b/libsrc/runtime/pusha.s index d8e90ac3e..97d3154a8 100644 --- a/libsrc/runtime/pusha.s +++ b/libsrc/runtime/pusha.s @@ -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