8 lines
101 B
NASM
8 lines
101 B
NASM
; This program adds 1 to register A until it equals 64, then halts.
|
|
|
|
loop:
|
|
inc a
|
|
cmp 64
|
|
jnz loop
|
|
|
|
hlt |