Update TESTS/mbed_hal/spm/main.cpp

Use r3 instead of r4

Co-Authored-By: orenc17 <oren.cohen@arm.com>
pull/9128/head
Alexander Zilberkant 2018-12-23 11:37:29 +02:00 committed by GitHub
parent 9b573acfa4
commit b409267883
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"
);
}