; Variables for thread 0..org $1000x:
.qword $0y:
.qword $1z:
.qword $0.org $0init:
cps; Clear the Processor Status register.start:
lda#0 ; Clear the accumulator.ldb.qy; b=1.fib:
aab; Add x with y.ldb.qystb.qx; x=y.sta.qy; y=z.tablda.qxbcsstart; Start all over again, if the carry flag was set.jmpfib; Otherwise, keep looping.done