Add the basic fibonacci sequence program.

This commit is contained in:
Danila Fedorin 2018-06-05 17:25:12 -07:00
parent 115dce6b8c
commit 351b23b0f7

8
tasm/fib.tasm Normal file
View File

@ -0,0 +1,8 @@
addc r1 r0 1
addc r2 r0 1
loop:
disp r1
add r3 r1 r2
add r1 r0 r2
add r2 r0 r3
jmp loop # do bullshit