AndyGadget
Senior Member
On the X1 and X2 chips we have the commands for manipulating a single bit in a byte or word variable - SETBIT, CLEARRBIT and TOGGLEBIT, but no TESTBIT. This is easy enough to do with an AND and a temporary variable, but TESTBIT would be much cleaner.
Or am I missing something?
Andy.
Or am I missing something?
Andy.