Added some 65C02 code.

git-svn-id: svn://svn.cc65.org/cc65/trunk@484 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2000-11-27 22:59:03 +00:00
parent 5be5b3763b
commit b4163d0e4e
11 changed files with 149 additions and 80 deletions

View File

@@ -11,6 +11,7 @@
; libinit and libdone call condes with the predefined module constructor and
; destructor tables, they must be called from the platform specific startup
; code.
;
; The function does also export jmpvec as general purpose jump vector that
; lies in the data segment so it's address may be patched at runtime.
@@ -73,7 +74,11 @@ loop: ldy index
sta jmpvec+1
sty index
jsr jmpvec
jmp loop
.ifpc02
bra loop
.else
jmp loop
.endif
done: rts