• Xdata
    Hi Can someone tell me how does XDATA works? I got the code below but i do not understand how can a simple code like #define Port_D XBYTE [0xFFA0], define Port D and what input or output goes to which...
  • XDATA
    #include <REG668.H> #define on_XRAM() AUXR = 0x01 #define off_XRAM() AUXR = 0x02 sbit Led_Bit = P2^4; void delay(unsigned long us) { off_XRAM(); while (--us > 0); on_XRAM(); } void...
  • Interrupt Enable?
    Study the traffic example bout RTX-51 and interrupt. I was so confused. Since I can not find any file called the function os_enable_isr(). And the serial file use the standard C51 interrupt function...
  • Internal XDATA
    I have an existing design with external RAM mapped from 0000 and a lot of units manufactured. To rectify some intermittent errors in the original code, I need to gain a bit more RAM without modifying...
  • How to enable line wrap in the UVision editor?
    How does one enable line wrapping in the UVision editor? I am unable to locate a control in the dialogs, and searching the help for "wrap" does not yeild anything related. Thanks.