mcf5407 Freescale Semiconductor, Inc, mcf5407 Datasheet - Page 106

no-image

mcf5407

Manufacturer Part Number
mcf5407
Description
Mcf5407 Coldfire Integrated Microprocessor User
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mcf5407AI162
Manufacturer:
FREESCALE
Quantity:
201
Part Number:
mcf5407AI162
Manufacturer:
FREESCAL
Quantity:
132
Part Number:
mcf5407AI162
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf5407AI162
Manufacturer:
ALTERA
0
Part Number:
mcf5407AI220
Manufacturer:
freescaie
Quantity:
6
Part Number:
mcf5407AI220
Manufacturer:
Freescale Semiconductor
Quantity:
135
Part Number:
mcf5407AI220
Manufacturer:
FREESCALE
Quantity:
1 831
Part Number:
mcf5407AI220
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf5407AI220
Manufacturer:
NXP
Quantity:
25
Part Number:
mcf5407CAI162
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
ColdFire Instruction Set Architecture Enhancements
CMP
Operation:
Assembler Syntax: CMP <ea>y, Dx
Attributes:
Description: Subtracts the source operand from the destination operand in the data register
and sets condition codes according to the result; the data register is unchanged. The
operation size may be a byte, word, or longword.
CMPA is used when the destination is an address register; CMPI is used when the source
is immediate data. Most assemblers automatically make this distinction.
Condition Codes:
Instruction Fields:
Ay (word/longword operand only)
2-40
Instruction
Format:
X
• Register field—specifies the destination register.
• Opmode field:
• Effective address field specifies the source operand; use addressing modes in the
Addressing Mode
following table:
N
(d
(Ay) +
– (Ay)
(Ay)
16
Dy
,Ay)
Z
15
1
Operand sizes supported
14
0
V
Opcode present
Destination – Source → cc
Size = byte, word, long
13
1
CMP
C
Byte
000
Mode
000
001
010
011
100
101
12
1
X Not affected
N Set if the result is negative; cleared otherwise
Z Set if the result is zero; cleared otherwise
V Set if an overflow occurs; cleared otherwise
C Set if a borrow occurs; cleared otherwise
11
Word
MCF5407 User’s Manual
REGISTER
001
reg. number:Dy
reg. number:Ay
reg. number:Ay
reg. number:Ay
reg. number:Ay
reg. number:Ay
Register
10
Compare
Long
9
010
V2, V3 Core
8
OPMODE
Yes
.l
Addressing Mode
7
Dx - <ea>y
Operation
(d
(d
(d
#<data>
(xxx).W
(xxx).L
8
8
6
16
,PC,Xi)
,Ay,Xi)
,PC)
5
MODE
EFFECTIVE ADDRESS
4
V4 Core
.b, .w, .l
Yes
Mode
110
111
111
111
111
111
3
2
reg. number:Ay
REGISTER
Register
CMP
000
001
100
010
011
1
0

Related parts for mcf5407