cmn
Compare Negative (A32)
CMN<c> <Rn>, <Rm> {, <shift>}
Adds two values and updates flags (discarding result). Same as ADDS with no destination.
Details
The Compare Negative instruction adds two values and updates flags (discarding result). Same as ADDS with no destination.
Pseudocode Operation
// Flags ← Rm + SRC2 (result discarded)
Example
CMN r1, r2
Encoding
Binary Layout
cond
00
0
1011
1
Rn
0000
shift
0
Rm
Operands
-
Rn
First source / base general-purpose register -
Rm
Second source / offset general-purpose register