Jinx wrote: >> How can I (in MPASM), skip the next instruction if an 8 bit file >> register is 0x00? I've looked at decfsz but I can't come up with the >> logic to do this efficiently... > > movf register,w (note - overwrites previous W contents) You don't have to use W as the destination. Leave off the W and nothing at all gets trashed, just the Z flag set according to the contents of the register. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist