Okay everyone, this has got me stumped. I have a line of C code that I want to rewrite in FB3 and I am stuck. mTimerInterruptMask&=(0x02^0xff); So far I have it out to mTimerInterruptMask=mTimerInterruptMask AND (0x02^0xff) What is the deal with the '^' operator? Similarly, what would ~(x+1) become in FB? -Derek