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

xdata memory

What are the advantages in useing xdata memory?
Why would you use it?
How do you use it?

Parents
  • What are the advantages in useing xdata memory?

    It can have a much larger size (up to 64 kB) than the internal memory (which is limited to 256 bytes at most).

    Why would you use it?

    Because you need more than 256 bytes of RAM.

    How do you use it?

    You use a memory model that uses xdata memory by default (the lazy way) or manually put variables/arrays/structures into xdata memory by using the xdata keyword.

Reply
  • What are the advantages in useing xdata memory?

    It can have a much larger size (up to 64 kB) than the internal memory (which is limited to 256 bytes at most).

    Why would you use it?

    Because you need more than 256 bytes of RAM.

    How do you use it?

    You use a memory model that uses xdata memory by default (the lazy way) or manually put variables/arrays/structures into xdata memory by using the xdata keyword.

Children