How to set / reset bit in the variable? (Spin)
Alarus
Posts: 48
How to set / reset any bit in the variable?
And how to test a bit in a variable?
Regards Alarus
And how to test a bit in a variable?
Regards Alarus
Comments
Thank you!
I wanted to use such construction: but your beautiful.
<voice of Roger Rabbit> Pleeeease, Jonny? </Rabbit off>
My personal favorite way is to use the normally unused DIRB, INB, or OUTB registers...
Just like with INA, you can test and set bits in any of these...
Thanks for the idea Rayman.