• How to access high byte of 2-byte idata variable ?
    I have one question about accessing high byte of 2-byte idata variable. Case 1 : for xdata variable we can use below to access the higher byte: #define ADDR *((_2BYTE xdata *) 0x0800) #define...
  • How to access high byte of 2-byte idata variable ?
    I have one question about accessing high byte of 2-byte idata variable. Case 1 : for xdata variable we can use below to access the higher byte: #define ADDR *((_2BYTE xdata *) 0x0800) #define...
  • Trouble accessing array values
    I'm having difficulty accessing a value from an array. Here's an example of what the code is doing: unsigned char xdata In_Buf[2][70]; unsigned char port; void main(void){ port = In_Buf[0...
  • Trouble accessing array values
    I'm having difficulty accessing a value from an array. Here's an example of what the code is doing: unsigned char xdata In_Buf[2][70]; unsigned char port; void main(void){ port = In_Buf[0...
  • Trouble accessing memory mapped devices
    Hi, I was wondering if anyone could provide help with the following: Basically I am trying to acces a memory mapped device at location 0x8000H. (I have other devices at other locations also such...