• Reading/Writing external memory using xdata
    I like to know how to read external memory using xdata .I've tried like this unsigned char xdata *PORTA=0X8000; unsigned char xdata *CW=0X8003; unsigned char val2, val3; val2=0X80; CR=&val2; val3=0X50;...
  • Reading/Writing external memory using xdata
    I like to know how to read external memory using xdata .I've tried like this unsigned char xdata *PORTA=0X8000; unsigned char xdata *CW=0X8003; unsigned char val2, val3; val2=0X80; CR=&val2; val3=0X50;...
  • Why can't I use xdata variable in NXP P89C669?
    My code is just as simple as below: static unsigned int xdata user_timer_count[8]; static unsigned int xdata count[8]; void func1() { } void main() { int j; user_timer_count[2] = 1000; count...
  • Why can't I use xdata variable in NXP P89C669?
    My code is just as simple as below: static unsigned int xdata user_timer_count[8]; static unsigned int xdata count[8]; void func1() { } void main() { int j; user_timer_count[2] = 1000; count...
  • Problem writing DWORD xdata
    I just noticed this recently... whenever I have a xdata DWORD - 32 bits - and I try to set it to a constant value (or any value I think), the assembly that gets generated seems all messed up for such...