Re: [Flashforth-devel] For-next loops - the New Design
Brought to you by:
oh2aun
From: Mikael N. <mik...@fl...> - 2015-05-27 15:58:59
|
Yes, Yes, I understand what you want. But you dont seem to understand that it cannot be done in a simple for..next loop that has only one decrement and branch instruction, and that has an index that counts down to zero. In order the get the full 16 bit loop count you have to give as input the N+1 count. But if you have some idea how to implement it in PIC assembly code, please write it out. BR Mike On 27.05.2015 10:32, om1zz wrote: > 0 _for 65535 65534 .. > .. 13 12 11 10 9 8 7 6 5 4 3 2 1 0 > 65536 ok<#,ram> |