We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Is there a preferred sequence?
SBUF = mychar; TI = 0; // or TI = 0; SBUF = mychar;
I prefer if (_testbit_ (TI)) SBUF = mychar; and if (_testbit_ (RI)) mychar = SBUF; The _testbit_ routine produces a JBC instruction in the generated program code to simultaneously test the bit b and clear it to 0.