• Problem in using Xdata Memory
    Hi all... I have a very small issue.... i have written a code to send messages through SIM800 using SST89E516RD2 microcontroller. code is:- #include <sst89e516rd2.h> sbit row0=P2^4; sbit row1...
  • Sending data from 8051 to PC with UART
    Can someone help me with UART? I want send data from the 8051 to my PC via UART. I know which registers I have to set, but how do I send the data to the PC? The program is writen in C. I want this program...
  • sending a long with uart
    xdata unsigned long var_long _at_ 0x0150; unsigned char * pointer; pointer=0x0150; var_long=0x45213256; SBUF=*pointer; ... SBUF=*(pointer+1); ... SBUF=*(pointer+2); ... SBUF=*(pointer+3); ... ...
  • 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;...
  • xdata memory
    What are the advantages in useing xdata memory? Why would you use it? How do you use it?