Hi all,
Is there any way to jump some flash locations inside a code. eg:
Starting location of flash
0x00000050 int main() 0x00000054 { 0x00000058 printf("Hai"); 0x0000005C Jumpt to flash address for 2nd printf 0x00075000 printf("Bye") ------------ }
How to implement this type of Flash location jumping in Keil compiler.Is it possible to jump?? Kindly reply...
Maybe it's just the example, but it sounds like a really bad idea. Anyway, in order to jump to address 0x12345678 you can do the following:
((void (*)(void))0x12345678)();