From: cuz Date: Sat, 23 Nov 2002 16:21:35 +0000 (+0000) Subject: Fixed a bug in pushw0sp X-Git-Tag: V2.12.0~2033 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=56350d81e075e255ab75e2e727d203386570f018;p=cc65 Fixed a bug in pushw0sp git-svn-id: svn://svn.cc65.org/cc65/trunk@1604 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/runtime/pushwsp.s b/libsrc/runtime/pushwsp.s index ed8cecb2a..6e9735485 100644 --- a/libsrc/runtime/pushwsp.s +++ b/libsrc/runtime/pushwsp.s @@ -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 - +