8608/examples/double.asm
2024-02-11 22:54:37 -05:00

5 lines
76 B
NASM

; Endlessly doubles A by adding itself to itself.
lda 1
add b
ldb a
jpr loop