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