1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-22 01:31:33 +00:00
C02/test.asm

19 lines
261 B
NASM
Raw Normal View History

2017-03-28 04:09:18 +00:00
;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