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

Is Stack Point can use external memory

Dear sir:
Can I ask a question,I have a cpu
like 8051 and stack point can locate external
memory, can I use the C51 to define the stack point to extern memory or must be internal
memory.

Best Regard

Parents
  • The hardware SP register of the 8051 CPU can only address the internal RAM - see the Data Sheet.

    However, you can simulate an external stack in XDATA by making your functions reentrant - see the C51 Manual

Reply
  • The hardware SP register of the 8051 CPU can only address the internal RAM - see the Data Sheet.

    However, you can simulate an external stack in XDATA by making your functions reentrant - see the C51 Manual

Children
No data