From acdadf869590a8d5c948c9b608ec48da04ddc592 Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 31 Oct 2000 19:16:44 +0000 Subject: [PATCH] Fixed a bug in the last change git-svn-id: svn://svn.cc65.org/cc65/trunk@425 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/runtime/ldeax.s | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) -- 2.39.5