This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PDATA and XDATA

If I use PDATA for my Stack. will any of my XDATA overlap? or is Keil smart enough to prevent that? Does it mean the RAM(XDATA) I have is 2048 - 256 for pdata?

MCU: AT89C51CC03
Memory Model: Compact

PBPSTACK EQU 1
PBPSTACKTOP EQU 0xFF +1

Parents
  • you may notice that ASCII characters include 0x00 to 0xFF, not only visible characters.
    so you can send any 8bit data use "send char" or simlar fuction, but don't use "send string", beacause string is 0x00 as end.

    in many application, for easy(clearly) view the data in terminal, add a 0x30 for BCD number

Reply
  • you may notice that ASCII characters include 0x00 to 0xFF, not only visible characters.
    so you can send any 8bit data use "send char" or simlar fuction, but don't use "send string", beacause string is 0x00 as end.

    in many application, for easy(clearly) view the data in terminal, add a 0x30 for BCD number

Children
No data