Fixed a bug in the last change
git-svn-id: svn://svn.cc65.org/cc65/trunk@425 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -26,7 +26,7 @@ ldeax: pla ; Low byte of return address
|
|||||||
lda (ptr4),y
|
lda (ptr4),y
|
||||||
tay ; Save low byte
|
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
|
; jump to it
|
||||||
|
|
||||||
lda ptr4
|
lda ptr4
|
||||||
@@ -34,4 +34,5 @@ ldeax: pla ; Low byte of return address
|
|||||||
sta ptr4
|
sta ptr4
|
||||||
bcc @L9
|
bcc @L9
|
||||||
inc ptr4+1
|
inc ptr4+1
|
||||||
@L9: jmp (ptr4)
|
@L9: tya ; restore low byte
|
||||||
|
jmp (ptr4)
|
||||||
|
|||||||
Reference in New Issue
Block a user