mirror of
https://github.com/dschmenk/PLASMA.git
synced 2024-08-21 06:29:07 +00:00
Merge pull request #32 from peterferrie/master
a bit smaller, another attempt at 65c02 VM
This commit is contained in:
commit
7021424990
@ -808,7 +808,7 @@ asm reloc(modfix, modofst, bytecode, rld)#3
|
||||
PLA
|
||||
AND #$10 ; EXTERN REF - EXIT
|
||||
BNE RLDEX
|
||||
LDY #$00 ; FIXUP=*ADDR+MODOFST
|
||||
TAY ; FIXUP=*ADDR+MODOFST
|
||||
LDA (DST),Y
|
||||
INY
|
||||
CLC
|
||||
|
@ -698,15 +698,13 @@ LNOT LDA ESTKL,X
|
||||
ORA ESTKH,X
|
||||
BNE +
|
||||
LDA #$FF
|
||||
STA ESTKL,X
|
||||
STA ESTKH,X
|
||||
JMP NEXTOP
|
||||
BNE ++
|
||||
;*
|
||||
;* CONSTANT
|
||||
;*
|
||||
ZERO DEX
|
||||
+ LDA #$00
|
||||
STA ESTKL,X
|
||||
++ STA ESTKL,X
|
||||
STA ESTKH,X
|
||||
JMP NEXTOP
|
||||
CFFB LDA #$FF
|
||||
|
1482
src/vmsrc/plvmc02.s
Normal file
1482
src/vmsrc/plvmc02.s
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user