arm中关于程序跳转

__asm__ (“ldr r0,=0x4");
__asm__ (“ldr r1,[r0]");
__asm__ (“mov pc,r1");

跳转到0x4地址处,该位置为复位入口处,其内容指向reset程序处理

你可能感兴趣的:(arm,arm开发)