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

constant placement

Can I put ?CO?xxx on XDATA space using LX51 user segments "?CO?xxx (X:0x200)"

thx all

Parents
  • "xdata is a RAM space isn't it."

    Not necessarily.

    As far as the processor is concerned, XDATA is just memory that responds to MOVX opcodes; so, if you connect some ROM so that it responds to (i.e. is accessed by) MOVX opcodes, you have ROM in XDATA space.


    expanding on this:
    the most frequent case I know of using "burned constants in XDATA" is in the cases where you use a negative OR to convert the '51 to vonNeuman memory.

    Erik

Reply
  • "xdata is a RAM space isn't it."

    Not necessarily.

    As far as the processor is concerned, XDATA is just memory that responds to MOVX opcodes; so, if you connect some ROM so that it responds to (i.e. is accessed by) MOVX opcodes, you have ROM in XDATA space.


    expanding on this:
    the most frequent case I know of using "burned constants in XDATA" is in the cases where you use a negative OR to convert the '51 to vonNeuman memory.

    Erik

Children
No data