My mind has gone blank! Setting bits is easy:
will set bit 7 of a& to 1 regardless of the other bits and regardless of whether it's already 1 or 0.
What's the opposite of that code? Ie, to set bit 7 to 0 without changing any of the other bits and regardless of whether it's already 0 or 1?
- Andy
___________________________________________________________________
If you think nobody cares you're alive, try missing a couple of mortgage payments
Code:
a& = a& or 64
What's the opposite of that code? Ie, to set bit 7 to 0 without changing any of the other bits and regardless of whether it's already 0 or 1?
- Andy
___________________________________________________________________
If you think nobody cares you're alive, try missing a couple of mortgage payments