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

what dose "keep variables in order " do ?

My program is a bitter large.When I select "keep variables in order" which is located in the option of a project,my program will run
normally,though very slowly.Otherwise ,errors will occur.Why?
Thanks for your answer.

Parents
  • Yes, by "corrupt pointer" I meant a pointer which points where it didn't oughta!
    It wasn't intended to be a specific 'C' term.

    Note that, with C51, a pointer specifies both an address and (either implicitly or explicitly) a memory area - DATA, XDATA, etc
    If the "corrupt" part of a "corrupt" pointer is the memory area, it could end up pointing into the stack - imagine what fun that can be...!

    You probably need to track this down in the simulator.

Reply
  • Yes, by "corrupt pointer" I meant a pointer which points where it didn't oughta!
    It wasn't intended to be a specific 'C' term.

    Note that, with C51, a pointer specifies both an address and (either implicitly or explicitly) a memory area - DATA, XDATA, etc
    If the "corrupt" part of a "corrupt" pointer is the memory area, it could end up pointing into the stack - imagine what fun that can be...!

    You probably need to track this down in the simulator.

Children
No data