Paul: the directive < comf W > will assemble to < comf 0,1 >. This complements the register file 00h, which is normally the INDF register and stores the result back in INDF, whereever INDF is pointing to. The W-orking register can be complemented by < xorlw 0xFF >. martin ;********************************************** ;** name: Martin Schaefer ** ;** company: elektronik 21 GmbH, Germany ** ;** e-mail: schaefer@elektronik21.de ** ;**********************************************