mpc823rg Freescale Semiconductor, Inc, mpc823rg Datasheet - Page 1181

no-image

mpc823rg

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

Related parts for mpc823rg