diff --git a/TESTS/mbed_hal/spm/main.cpp b/TESTS/mbed_hal/spm/main.cpp index d652335f92..a920b13c3b 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 r1, [r0]\n" + "LDR r4, [r0]\n" "BX lr\n" ); }