[Flashforth-devel] Assembler Loops
Brought to you by:
oh2aun
From: Thomas B. <bus...@gm...> - 2014-07-11 06:26:04
|
Hallo, I try nested loops in Flashforth incl. Assembler, but I get no success. In the code I want a outer loop (32 times) and two inner loops (13 times and 20 times). Maybe a watchdogtimer kill the process? Here is my listing: variable seqz variable counter [#32 movlw seqz a, movwf,begin, latb 0 0 bsf, #13 movlw, counter a, movwf, begin, counter 1 a, decfsz, again, latb 0 0 bcf, #20 movlw, counter a, movwf, begin, counter 1 a, decfsz, again, seqz 1 a, decfsz, again, ] Bye Thomas |