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

Stack issue.

Hi ALL,
I using STARTUP.A51 in my C51 Project,It will be start the sp at 0x07, becuase I define many idata in my program.When Call a function in C program, The idata overlap the push value make program counter jmup to error address when in debug mode.
Why the compilier don't auto setting stack ?

Thanks.

0