David, Inc16bit ;Increment routine incfsz Reg2Low,f goto Inc16End incf Reg2High,f Inc16End /Bjarne -----Ursprungligt meddelande----- FrŚn: David Covick [mailto:dac@WEST.NET] Skickat: den 28 januari 2000 15:53 Till: PICLIST@mitvma.mit.edu €mne: 16-bit Loop Counter Can someone post a cut & paste of a compact 16-bit loop counter? It just needs to positive step or index by one on each loop. I have been using an 8-bit loop counter and don't have a clue as to what to do to go to 16-bits. I could find no example asm on some of the web sites that we so often reference. Also, I need the loop counter to be compact in order to "fit the application"......as in less than or equal to15 cycles. Thanks a bunch! David