[Flashforth-devel] Assembler Question
Brought to you by:
oh2aun
From: Thomas B. <bus...@gm...> - 2014-07-08 07:14:35
|
Hallo, my knowledge about assembler is low, but I need a snippet. How can I do a loop with a certain number of interations do? : function13loop [ latb 0 0 bsf, \ switch PIN 0 on 13 movlw, begin, do 13 iterations?? nop, \ no operation ??? 1 a, decfsz, \ decrement the counter (wreg?) and jump to the next again, latb 0 0 bcf, \ switch PIN 0 off ] ; Sorry for sourcecode. Bye Thomas |