For example, write cpsr as following code snippets:
mov r1, sp
movw lr, #0x393
movt lr, #0
msr cpsr_cxsf, lr
Is an ISB instruction required after "msr cpsr_cxsf, lr"?
Thank you in advance!
From the manual! (G1.10.1 Accessing PSTATE fields)"Writes to the CPSR have side-effects on various aspects of PE operation. All of these side-effects, except side-effects on memory accesses associated with fetching instructions, are synchronous to the CPSR write. This means that they are guaranteed:• Not to be visible to earlier instructions in the execution stream.• To be visible to later instructions in the execution stream."