Create fibonacci.asm
This commit is contained in:
8
examples/increment_reg.asm
Normal file
8
examples/increment_reg.asm
Normal file
@@ -0,0 +1,8 @@
|
||||
; This program adds 1 to register A until it equals 64, then halts.
|
||||
|
||||
loop:
|
||||
inc a
|
||||
cmp 64
|
||||
jnz loop
|
||||
|
||||
hlt
|
||||
Reference in New Issue
Block a user