196. Function Pointer

Question.7

A bootloader jumps to the application entry point:

uint32_t app_addr = 0x08004000;
uint32_t reset_handler = *(uint32_t*)(app_addr + 4);

void (*jump)(void) = (void (*)(void))reset_handler;
jump(); // Jump to application!

What firmware technique does this demonstrate?

Need Help? Refer to the Quick Guide below

Select Answer

Restart quiz!