how to write the code about jumping from bootloader to user app
I try to write code like this to go to app , but some errors occured
__asm("e_lis r12,0x00F9");
__asm("e_or2i r12,0x4010");
__asm("e_lwz r0,0(r12)");
__asm("mtlr r0");
__asm("se_blrl");
thank you my friend,can change this code to C language?because i want to use Uart command to control the device go to app,for example , if mpc5746 received the command 0x01,mpc5746c will go to app