Data Memory Specifiers
“data” - first 128 bytes, directly addressed
“idata” - all 256 bytes, indirectly addressed (slower)
“bdata” - bit-addressable memory
- 16 bytes from addresses 0x20 to 0x2F
- 128 bit variables max bit flag1, flag2; flag1 = (a == b);
- can access as bytes or bits char bdata flags; sbit flag0 = flags ^ 0; /* use sbit to “overlay” */ sbit flag7 = flags ^ 7; /* ^ specifies bit */ flags = 0; /* Clear all flags */ flag7 = 1; /* Set one flag */