Hi Group, The MPLAB assembler will compile the COMF W statement but does not work on the simulator. Since it did compile then I assume that the COMF W is doing something, but I am not sure what it does? Anyone provide a bit of light on this? Paul