UM10429
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2010. All rights reserved.
User manual
Rev. 1 — 20 October 2010
203 of 258
NXP Semiconductors
UM10429
Chapter 19: Appendix LPC1102 ARM Cortex-M0 reference
also shows the relationship between condition code suffixes and the N, Z, C,
and V flags.
19.4.4 Memory access instructions
shows the memory access instructions:
19.4.4.1 ADR
Generates a PC-relative address.
19.4.4.1.1
Syntax
ADR
Rd
,
label
Table 205. Condition code suffixes
Suffix
Flags
Meaning
EQ
Z = 1
Equal, last flag setting result was zero
NE
Z = 0
Not equal, last flag setting result was non-zero
CS or HS
C = 1
Higher or same, unsigned
CC or LO
C = 0
Lower, unsigned
MI
N = 1
Negative
PL
N = 0
Positive or zero
VS
V = 1
Overflow
VC
V = 0
No overflow
HI
C = 1 and Z = 0
Higher, unsigned
LS
C = 0 or Z = 1
Lower or same, unsigned
GE
N = V
Greater than or equal, signed
LT
N
!
= V
Less than, signed
GT
Z = 0 and N = V
Greater than, signed
LE
Z = 1 and N
!
= V
Less than or equal, signed
AL
Can have any value
Always. This is the default when no suffix is specified.
Table 206. Access instructions
Mnemonic
Brief description
See
LDR{type}
Load Register using register offset
LDR
Load Register from PC-relative address
POP
Pop registers from stack
PUSH
Push registers onto stack
STM
Store Multiple registers
STR{type}
Store Register using immediate offset
STR{type}
Store Register using register offset