bootloader 和操做系统都是工做在svc模式下操作系统
/* * set the cpu to SVC32 mode */ mrs r0,cpsr bic r0,r0,#0x1f orr r0,r0,#0xd3 msr cpsr,r0blog