Byron Jeff wrote: > So just for the record: Under normal circumstances, no competent programm= er > would separate the decrement of the counter (in the interrupt), and the > checking of the counter to see if it is zero (in the main loop). Since th= e > DECFSZ instruction is specifically designed to decrement and to go > somewhere different specifically when something becomes zero, under norma= l > circumstances, the decrement and the check are combined. Thats the difference between a novice and a professional programmer :-). cheers Ravi --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .