10 lines
234 B
NASM
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
|