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.
#include<stdio.h> #include<reg52.h> #define XBYTE ((unsigned char volatile xdata*) 0 unsigned char dummy = 0x55; bit bitValue; void main (void) { bitValue = dummy & 0x40; XBYTE[0x1234]= 0x55; return; }
This program doesnt execute. plz query this program immediately.In the memory location the acc value is 0x55.
Try (I can't compile it here):
#define XBYTE (unsigned char volatile xdata*)