You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
343 B
19 lines
343 B
.syntax unified
|
|
.cpu cortex-m4
|
|
.thumb
|
|
.text
|
|
.align 2
|
|
|
|
@ void bootmgr_run_app(_u32 base)
|
|
.global bootmgr_run_app
|
|
.thumb
|
|
.thumb_func
|
|
.type bootmgr_run_app, %function
|
|
bootmgr_run_app:
|
|
@ set the SP
|
|
ldr sp, [r0]
|
|
add r0, r0, #4
|
|
|
|
@ jump to the entry code
|
|
ldr r1, [r0]
|
|
bx r1
|
|
|