From cc5e9053a130e13e2fa33bea66ba01c90f65797e Mon Sep 17 00:00:00 2001 From: Alexander Zilberkant Date: Sun, 23 Dec 2018 11:37:29 +0200 Subject: [PATCH] Update TESTS/mbed_hal/spm/main.cpp Use r3 instead of r4 Co-Authored-By: orenc17 --- TESTS/mbed_hal/spm/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TESTS/mbed_hal/spm/main.cpp b/TESTS/mbed_hal/spm/main.cpp index 935a51d408..4863b2e6a6 100644 --- a/TESTS/mbed_hal/spm/main.cpp +++ b/TESTS/mbed_hal/spm/main.cpp @@ -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" ); }