From 4f0664bea0b6c52df08451e21d64d214908ffbaf Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 28 Nov 2000 13:33:08 +0000 Subject: [PATCH] Added some 65C02 code git-svn-id: svn://svn.cc65.org/cc65/trunk@487 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/runtime/pusha.s | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5