SAM3A8C Atmel Corporation, SAM3A8C Datasheet - Page 97
SAM3A8C
Manufacturer Part Number
SAM3A8C
Description
Manufacturer
Atmel Corporation
- Current page: 97 of 1465
- Download datasheet (26Mb)
11.11.7.2
11057A–ATARM–17-Feb-12
11057A–ATARM–17-Feb-12
Condition code suffixes
V
For more information about the APSR see
A carry occurs:
Overflow occurs if the result of an add, subtract, or compare is greater than or equal to 2
less than –2
Most instructions update the status flags only if the S suffix is specified. See the instruction
descriptions for more information.
The instructions that can be conditional have an optional condition code, shown in syntax
descriptions as {cond}. Conditional execution requires a preceding IT instruction. An instruction
with a condition code is only executed if the condition code flags in the APSR meet the specified
condition.
You can use conditional execution with the IT instruction to reduce the number of branch instruc-
tions in code.
Table 11-16
flags.
Table 11-16. Condition code suffixes
Suffix
EQ
NE
CS or
HS
CC or
LO
MI
PL
VS
VC
HI
LS
GE
LT
GT
LE
AL
• if the result of an addition is greater than or equal to 2
• if the result of a subtraction is positive or zero
• as the result of an inline barrel shifter operation in a move or logical instruction.
Table 11-16
Flags
Z = 1
Z = 0
C = 1
C = 0
N = 1
N = 0
V = 1
V = 0
C = 1 and Z = 0
C = 0 or Z = 1
N = V
N = V
Z = 0 and N = V
Z = 1 and N
Can have any
value
31
also shows the relationship between condition code suffixes and the N, Z, C, and V
.
Set to 1 when the operation caused overflow, cleared to 0 otherwise.
shows the condition codes to use.
V
Meaning
Equal
Not equal
Higher or same, unsigned
Lower, unsigned <
Negative
Positive or zero
Overflow
No overflow
Higher, unsigned >
Lower or same, unsigned
Greater than or equal, signed
Less than, signed <
Greater than, signed >
Less than or equal, signed
Always. This is the default when no suffix is
specified.
“Program Status Register” on page
32
SAM3X/A
SAM3X/A
59.
31
, or
97
97
Related parts for SAM3A8C
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
AT91SAM ARM-based Flash MCU
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet: