We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I'm want to know something about the "STARTUP.A51" file, which is automatic created by KEIL.
My question is if I do this:
((void (code *) (void)) 0x0000) ();
in any place of my code, will that clean the STACK POINTER?
In other words, if I have two codes in the flash, one starts at 0x0000 and the other at 0x4000, from the code in 0x4000 can I make a LJMP to 0x0000 pretending a software reset and my STACK POINTER will be cleared???
Thanks,
Piero
Ok! All ready read
http://www.keil.com/support/man/docs/c51/c51_ap_startup.htm