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 xdata*) 0
unsigned char dummy = 0x55; bit bitValue;
void main (void) { bitValue = dummy & 0x40; %% XBYTE [0x1234] = 0x55; return; } The Error is: %%
subscript on non array or too many dimensions. syntex error .
Please read the instruction on how to post code - they're right above the 'Message' box when you make your post!