Thanks for everyone's help! Paul In a message dated 4/29/00 3:05:07 PM Central Daylight Time, dwayner@PLANET.EON.NET writes: << W is not a physical register, so you can't compliment it that way. But you can do: comw MACRO xorlw 0xFF endm and then just use 'comw' where you need it dwayne >>