mirror of https://github.com/ARMmbed/mbed-os.git
Update TESTS/mbed_hal/spm/main.cpp
Use r3 instead of r4 Co-Authored-By: orenc17 <oren.cohen@arm.com>pull/9128/head
parent
9b573acfa4
commit
b409267883
|
@ -84,7 +84,7 @@ __attribute__((naked)) void call_mem(uint32_t addr)
|
|||
// since exception will be generated for invalid memory access.
|
||||
// Other instructions are for calling do_nothing function according to AAPCS.
|
||||
__ASM(
|
||||
"LDR r4, [r0]\n"
|
||||
"LDR r3, [r0]\n"
|
||||
"BX lr\n"
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue