dsp56800e Freescale Semiconductor, Inc, dsp56800e Datasheet - Page 129

no-image

dsp56800e

Manufacturer Part Number
dsp56800e
Description
16-bit Digital Signal Controller Core
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Freescale Semiconductor
CMP
CMP.B
CMP.BP
CMP.L
Operation
Table 4-31. Data ALU Arithmetic Instructions (Sheet 4 of 8)
X:(Rn+xxxx),FF
#<0–31>,EEE
X:xxxxxx,EEE
X:(SP–xx),FF
X:xxxxxx,FF
#<0–31>,FF
X:xxxx,EEE
X:xxxxxx,fff
Operands
X:(Rn),FF
X:xxxx,FF
EEE,EEE
EEE,EEE
#xxx,EEE
#xxxx,FF
FFF,FFF
X:xxxx,fff
(parallel)
#xxxx,fff
Instruction Set Introduction
C
1
2
3
3
2
3
1
2
1
1
1
2
2
3
1
2
3
2
W
1
1
2
1
2
3
1
2
1
1
1
2
2
3
1
2
3
2
Compare accumulator with a signed 16-bit immedi-
Refer to Table 4-41 on page 4-48.
Compare the byte portion of a data register with an
Compare with a 9-bit signed immediate integer.
Compare memory byte with register.
Compare the 32-bit long portions of two data registers
Compare memory long with a data register.
Compare a 16-bit immediate value sign extended to
36-bit compare of two accumulators or data registers.
Compare memory word with 36 bit accumulator.
Also see CMP.W.
Note: Condition codes set based on 36-bit result.
Also see CMP.W for condition codes on 16 bits.
Compare accumulator with an immediate integer
0–31.
ate.
Compare the 8-bit byte portions of two data registers.
immediate integer 0–31.
or accumulators.
32 bits with a data register.
Comments
Instruction Set Summary
4-33

Related parts for dsp56800e