Skip to content

Commit b409267

Browse files
Alexander Zilberkantorenc17
andauthored
Update TESTS/mbed_hal/spm/main.cpp
Use r3 instead of r4 Co-Authored-By: orenc17 <[email protected]>
1 parent 9b573ac commit b409267

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TESTS/mbed_hal/spm/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ __attribute__((naked)) void call_mem(uint32_t addr)
8484
// since exception will be generated for invalid memory access.
8585
// Other instructions are for calling do_nothing function according to AAPCS.
8686
__ASM(
87-
"LDR r4, [r0]\n"
87+
"LDR r3, [r0]\n"
8888
"BX lr\n"
8989
);
9090
}

0 commit comments

Comments
 (0)