Improved 65c02 support
git-svn-id: svn://svn.cc65.org/cc65/trunk@2507 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
.import __CONSTRUCTOR_TABLE__, __CONSTRUCTOR_COUNT__
|
||||
.import __DESTRUCTOR_TABLE__, __DESTRUCTOR_COUNT__
|
||||
|
||||
|
||||
.macpack cpu
|
||||
|
||||
.code
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
|
||||
sta getbyt+1
|
||||
stx getbyt+2
|
||||
sty index
|
||||
sty index
|
||||
|
||||
loop: ldy index
|
||||
beq done
|
||||
@@ -69,7 +69,7 @@ loop: ldy index
|
||||
jsr getbyt
|
||||
sty index
|
||||
jsr callax
|
||||
.ifpc02
|
||||
.if (.cpu .bitand ::CPU_ISET_65SC02)
|
||||
bra loop
|
||||
.else
|
||||
jmp loop
|
||||
|
||||
Reference in New Issue
Block a user