1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-03 16:33:19 +00:00

Fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@1096 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2001-11-04 19:38:35 +00:00
parent 5f87dcea95
commit b258333a71

View File

@ -18,14 +18,14 @@ tossubax:
sta ptr1 sta ptr1
stx ptr1+1 stx ptr1+1
.ifpc02 .ifpc02
lda (sp),y ; Get lo byte lda (sp) ; Get lo byte
ldy #1 ; Hi index ldy #1 ; Hi index
.else .else
ldy #0 ldy #0
lda (sp),y ; Lo byte lda (sp),y ; Lo byte
iny ; Hi index iny ; Hi index
.endif .endif
sec sec
sbc ptr1 sbc ptr1
sta ptr1 ; save lo byte sta ptr1 ; save lo byte
lda (sp),y lda (sp),y