Quote Originally Posted by jderson View Post
I'm trying to invert all bits of a byte variable, no matter what the value is. Do I need to make a lookup table for all the numbers?
I may be out of practice with binary operations. Couldn't you just use (255 - VARIABLE)?