mirror of
https://github.com/uffejakobsen/acme.git
synced 2024-11-29 19:50:12 +00:00
30 lines
490 B
Plaintext
30 lines
490 B
Plaintext
|
;ACME 0.97
|
||
|
; extensions in CMOS re-design (65c02):
|
||
|
tsb $04 ; 04
|
||
|
tsb $0c0c ; 0c
|
||
|
ora ($12) ; 12
|
||
|
trb $04 ; 14
|
||
|
inc ; 1a
|
||
|
trb $0c0c ; 1c
|
||
|
and ($12) ; 32
|
||
|
bit $34, x ; 34
|
||
|
dec ; 3a
|
||
|
bit $3c3c, x ; 3c
|
||
|
eor ($12) ; 52
|
||
|
phy ; 5a
|
||
|
stz $04 ; 64
|
||
|
adc ($12) ; 72
|
||
|
stz $34, x ; 74
|
||
|
ply ; 7a
|
||
|
jmp ($7c7c, x) ; 7c
|
||
|
bra * + 2 ; 80
|
||
|
bit #$89 ; 89
|
||
|
sta ($12) ; 92
|
||
|
stz $0c0c ; 9c
|
||
|
stz $3c3c, x ; 9e
|
||
|
lda ($12) ; b2
|
||
|
cmp ($12) ; d2
|
||
|
phx ; da
|
||
|
sbc ($12) ; f2
|
||
|
plx ; fa
|