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

my reset function

/*hi all..
who can tell me my code right or have any bug? and anyone have better than the function ,but no assembler.*/
main()
{
/*reset function*/
unsigned char code rst[]={0xe4,0xc0,0xe0,0xc0,0xe0,0x32}; // reset code.

(*((void (*)())(rst)))(); // call and run the reset code.

}


jane

Parents Reply Children
No data