mirror of
https://github.com/cc65/cc65.git
synced 2026-04-21 09:17:52 +00:00
Use callay instead of jmpvec
git-svn-id: svn://svn.cc65.org/cc65/trunk@1850 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
.export initlib, donelib, condes
|
||||
|
||||
.import jmpvec
|
||||
.import callax
|
||||
.import __CONSTRUCTOR_TABLE__, __CONSTRUCTOR_COUNT__
|
||||
.import __DESTRUCTOR_TABLE__, __DESTRUCTOR_COUNT__
|
||||
|
||||
@@ -58,18 +58,17 @@
|
||||
|
||||
sta getbyt+1
|
||||
stx getbyt+2
|
||||
sty index
|
||||
sty index
|
||||
|
||||
loop: ldy index
|
||||
beq done
|
||||
dey
|
||||
jsr getbyt
|
||||
sta jmpvec+2
|
||||
tax
|
||||
dey
|
||||
jsr getbyt
|
||||
sta jmpvec+1
|
||||
sty index
|
||||
jsr jmpvec
|
||||
jsr callax
|
||||
.ifpc02
|
||||
bra loop
|
||||
.else
|
||||
|
||||
Reference in New Issue
Block a user