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 it possible to access particular bit in xdata memory space without changig other bits' values (eg using ^).
There is no hardware bit twiddling to the xdata memory space. So you have to do read/modify/write instructions.
char xdata Var; Var |= 0x01; // set bit 0 Var &= ~0x01; // clr bit 0 Var ^= 0x01; // chg bit 0