7 lines
353 B
NASM
7 lines
353 B
NASM
; BYTE.ASM -- Watch register A while the processor counts up one step.
|
|
org $3f00
|
|
start lda #$29 ; Load the number $29 (decimal 41) into A.
|
|
inca ; Add one. What will A hold after this step?
|
|
done rts ; Return to BASIC with the result still in A.
|
|
end start
|