MSC8101PG Motorola / Freescale Semiconductor, MSC8101PG Datasheet - Page 129

no-image

MSC8101PG

Manufacturer Part Number
MSC8101PG
Description
MSC8101PG 16-Bit Digital Signal Processor Quick Reference
Manufacturer
Motorola / Freescale Semiconductor
Datasheet
CMPEQ.W
CMPEQA
CMPGT
CMPGT.W
CMPGTA
CMPHI
CMPHIA
CONT
Mnemomic
Compare for equal
If #u5 = = Dn, then 1
If #s16 = = Dn, then 1
Compare for equal
If rx == Rx, then 1
Compare for greater than
Dn > Da
Compare for greater than
Dn > #u5
Dn > #s16
Compare for greater than
Rx > rx
Compare for higher (unsigned)
Dn > Da
Compare for higher (unsigned)
Rx > rx
Continue to the next loop iteration
If LCn
LCn – 1
1, then SAn
T
T
else PC + displacement
0
LCn (always)
T
T
T
T
LFn;
Operation
T, else 0
PC
T, else 0
T, else 0
Table 9-5. Instructions Grouped Alphabetically (Continued)
T
T
T
PC
Description
CMPEQ.W #u5,Dn {0
CMPEQ.W #s16,Dn {–2
CMPEQA rx,Rx
CMPTG Da,Dn
CMPTG.W #u5,Dn {0
CMPTG.W #s16,Dn {–2
CMPGTA rx,Rx
CMPHI Da,Dn
CMPHIA rx,Rx
CONT label
(LC >1: 3 cycles. LC
Assembler Syntax
15
15
u5 < 32}
u5 < 32}
1: 4 cycles.)
s16 < 2
s16 < 2
15
15
}
}
Words
1
2
1
1
1
2
1
1
1
2
Cycles
3/4
1
1
1
1
1
1
1
1
1
Type
2
4
2
1
2
4
2
1
2
4
Functional
Arithmetic
Arithmetic
Arithmetic
Arithmetic
Arithmetic
Arithmetic
Arithmetic
Group
DALU
DALU
DALU
DALU
AGU
AGU
AGU
Loop

Related parts for MSC8101PG