
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
635 of 808
NXP Semiconductors
UM10360
Chapter 34: Appendix: Cortex-M3 User Guide
•
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.
2.4.3.4
Condition flags
These instructions do not change the flags.
2.4.3.5
Examples
STR
R0, [R5, R1]
; Store value of R0 into an address equal to
; sum of R5 and R1
LDRSB
R0, [R5, R1, LSL #1] ; Read byte value from an address equal to
; sum of R5 and two times R1, sign extended it
; to a word value and put it in R0
STR
R0, [R1, R2, LSL #2] ; Stores R0 to an address equal to sum of R1
; and four times R2