From: cuz Date: Tue, 31 Oct 2000 19:16:44 +0000 (+0000) Subject: Fixed a bug in the last change X-Git-Tag: V2.12.0~3102 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=acdadf869590a8d5c948c9b608ec48da04ddc592;p=cc65 Fixed a bug in the last change git-svn-id: svn://svn.cc65.org/cc65/trunk@425 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/runtime/ldeax.s b/libsrc/runtime/ldeax.s index 2213e9af4..88ebd0b1f 100644 --- a/libsrc/runtime/ldeax.s +++ b/libsrc/runtime/ldeax.s @@ -26,7 +26,7 @@ ldeax: pla ; Low byte of return address lda (ptr4),y tay ; Save low byte -; Calculate the return address (remember: RTS address is one low) and +; Calculate the return address (remember: RTS address is one low) and ; jump to it lda ptr4 @@ -34,4 +34,5 @@ ldeax: pla ; Low byte of return address sta ptr4 bcc @L9 inc ptr4+1 -@L9: jmp (ptr4) +@L9: tya ; restore low byte + jmp (ptr4)