SAM3A4C Atmel Corporation, SAM3A4C Datasheet - Page 118
SAM3A4C
Manufacturer Part Number
SAM3A4C
Description
Manufacturer
Atmel Corporation
- Current page: 118 of 1465
- Download datasheet (26Mb)
11.13.5
11.13.5.1
11.13.5.2
11.13.5.3
11.13.5.4
11.13.5.5
118
118
CMP
CMN
CMPGT
SAM3X/A
SAM3X/A
CMP and CMN
Syntax
Operation
Restrictions
Condition flags
Examples
R2, R9
R0, #6400
SP, R7, LSL #2
Compare and Compare Negative.
where:
cond
Rn
Operand2
details of the options.
These instructions compare the value in a register with Operand2. They update the condition
flags on the result, but do not write the result to a register.
The CMP instruction subtracts the value of Operand2 from the value in Rn. This is the same as
a SUBS instruction, except that the result is discarded.
The CMN instruction adds the value of Operand2 to the value in Rn. This is the same as an
ADDS instruction, except that the result is discarded.
In these instructions:
These instructions update the N, Z, C and V flags according to the result.
• do not use PC
• Operand2 must not be SP.
CMP{cond} Rn, Operand2
CMN{cond} Rn, Operand2
is an optional condition code, see
is the register holding the first operand.
is a flexible second operand. See
“Conditional execution” on page
“Flexible second operand” on page 91
11057A–ATARM–17-Feb-12
11057A–ATARM–17-Feb-12
96.
for
Related parts for SAM3A4C
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: