1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-18 21:07:28 +00:00
C02/test.asm
2017-03-28 00:09:18 -04:00

19 lines
261 B
NASM

;Program test.c02
CPU 6502
LDA #0
SEC
SBC 1
CLC
ADC 2
SEC
SBC 3
STA b
LDA 4
AND 255
STA c
LDA 1
ORA 256
STA i
b DB 0
c DB 0