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.
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.