6502-sim/test/ana.asm
2023-06-15 17:08:20 +00:00

10 lines
234 B
NASM

;; task:
;; - there are two numbers, at addresses 0 and 1
;; - find the sum of the two numbers
;; - store the result at address 2
LDA # h0
ADC zp d0
ADC zp d1
STA zp d2