	li W0 1000
	output 8 W0	; set period to 1000

	; **** FIBONACCI ****

	; print fibonacci sequence (F(n)) from F(0) to F(2+9)

; registers
	; 0 : F(n-1)
	; 1 : F(n)
	; 5 : counter from 0 to 9
	; 6 : 10 (for counter)

	li W5 0
	li W6 10

	xor W0 W0 W0	; clear W0
	addui W1 W0 1

	output 0 W0
	output 0 W1

loopfibo:
	addu W2 W0 W1
        move W0 W1
	move W1 W2

	output 0 W1
	sleep

	addui W5 W5 1
	subu W13 W5 W6
	la W15 end
	jmpc W15

	la W15 loopfibo
	jmp W15

end:	output 5 W6

