Do you mean, on Led.asm * movf COUNT,f ; Now you can check the Z flag: btfsc STATUS,Z goto counter_zero ; Counter is zero... nop ; Counter is non-zero... * ** * bsf PORTB, POWERLED ;Turn on LED counter_zero incf LedState,1 ;increase state id* Thank you --=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 .