mpc823rg Freescale Semiconductor, Inc, mpc823rg Datasheet - Page 1180

no-image

mpc823rg

Manufacturer Part Number
mpc823rg
Description
Mpc823 Powerquicc Integrated Communications Processor For Portable Systems
Manufacturer
Freescale Semiconductor, Inc
Datasheet
cmp
Assembler Syntax
Definition
Operation
Description
FIELD
FIELD
BIT
BIT
16
0
17
1
18
B
2
Freescale Semiconductor, Inc.
31
For More Information On This Product,
19
3
b
if a < b then c
else if a > b then c
else c
CR[4 crfD–4 crfD + 3]
the operands as signed integers. The result of the comparison is
placed into CR field crfD.
Other registers altered:
Simplified mnemonics:
cmp
Compare
a
The contents of rA are compared with the contents of rB treating
cmpd
cmpw
POWERPC ARCHITECTURE
20
MPC823 REFERENCE MANUAL
4
EXTS(rB)
EXTS(rA)
Condition Register (CR field specified by operand crfD):
Affected: LT, GT, EQ, SO
Go to: www.freescale.com
21
0b001
5
LEVEL
rA,rB
cr3,rA,rB
UISA
crfD,L,rA,rB
22
6
0b100
CRFD
23
7
0b010
equivalent to
equivalent to
24
8
0000000000
c || XER[SO]
25
9
0
SUPERVISOR
LEVEL
10
26
L
MPC823 Instruction Set—cmp
11
27
cmp
cmp
OPTIONAL
12
28
13
29
0,1,rA,rB
3,0,rA,rB
A
14
30
FORM
X
B-27
15
31
0

Related parts for mpc823rg