T
tshad
Is there an easy way to set a bit and clear a bit using a sub - something
like:
bitset(a,2) <-- sets 2nd bit in word
bitclr(a,5) <-- clears 5th bit in word
bittst( a,10) <-- test the 10th bit to see if it is set
I can create these myself, but wondered if there is already and easy way to
do this.
Thanks,
Tom
like:
bitset(a,2) <-- sets 2nd bit in word
bitclr(a,5) <-- clears 5th bit in word
bittst( a,10) <-- test the 10th bit to see if it is set
I can create these myself, but wondered if there is already and easy way to
do this.
Thanks,
Tom