The Cortex-M4 Instruction Set
ARM DUI 0553A
Copyright © 2010 ARM. All rights reserved.
3-31
ID121610
Non-Confidential
When
Rt
is PC in a word load instruction:
•
bit[0] of the loaded value must be 1 for correct execution, and a branch occurs to this
halfword-aligned address
•
if the instruction is conditional, it must be the last instruction in the IT block.
Condition flags
These instructions do not change the flags.
Examples
LDR
R0, LookUpTable
; Load R0 with a word of data from an address
; labelled as LookUpTable
LDRSB
R7, localdata
; Load a byte value from an address labelled
; as localdata, sign extend it to a word
; value, and put it in R7.