• getting errors with bdata of type char
    iam trying to access char bdata buff1[10] but getting some syntax errors. i wrote the code as below to access the array char bdata buff[10]; bit arr07=1; sbit mybit4 unsigned int i=0; for(i...
  • bdata problem
    can any one solve this #include <AT89X51.H> #include<stdio.h> bdata unsigned int a; sbit lsb=a^0; sbit msb=a^7; bit i; void main() { a=0xaa; while(1) { i=lsb; a=a>>1; msb=i; a^7=msb;...
  • bitfields in bdata behaviour
    Hello, If a bdata variable is defined in the form: struct foo { unsigned char b1:1; unsigned char b2:1; unsigned char b3:1; unsigned char b4:1; unsigned char b5:1; unsigned char b6:1; ...
  • bug of define a bit in bdata
    C: bdata unsigned BUFR16=0; sbit BIT8=BUFR16^8; the assemble language which is compiled by Keil uVision3: C:0x1172 9210 MOV BIT8(0x22.0),C ...... ;BUFR16<<=1; C:0x117D E522 MOV A,0x22 C:0x117F...
  • Question with bdata declaration
    DATA 0020H 000BH BIT_ADDR ?BA?XXACT_H BIT 002BH.0 0000H.1 UNIT _BIT_GROUP_ 002BH.1 0000H.7 *** GAP *** IDATA 002CH 000FH UNIT ?ID?XXACT_H 003BH 002DH *** GAP *** So from what i know Bdata start...