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
More questions in this forum