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

MOVX

Hello,

I want to check if there is an equivalent instruction of the MOVX at the C language.

I tried doing in-line assembly with no luck.

Any assistance is appreciated

Parents
  • "One of the most common good reasons is if you have hardware memory-mapped into the external data space."

    Of course.

    XBYTE is effectively just a "magic number" address - hence I prefer using _at_.

    Using _at_ automatically informs the tools that there is something at the specified location; using "magic number" addresses - whether via XBYTE or a pointer - hides this from the tools, so they have no reason to know that the address is "reserved"!

Reply
  • "One of the most common good reasons is if you have hardware memory-mapped into the external data space."

    Of course.

    XBYTE is effectively just a "magic number" address - hence I prefer using _at_.

    Using _at_ automatically informs the tools that there is something at the specified location; using "magic number" addresses - whether via XBYTE or a pointer - hides this from the tools, so they have no reason to know that the address is "reserved"!

Children
No data