Hi Peter. Still makes sense. value is {less or equal || greater} than k value is {greater or equal || less} than k What command you think pic16 micros are missing and better be implemented insetad of sublw ? :) WBR Dmitry. Peter van Hoof wrote: > > > SUBLW 0x0F ; Subtract 0x0F from the value of TMR0 > > Actually this does subtract the value of tmr0 from 0x0f , > does not seem logical but it's true. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist