2-26
MCF5272 User’s Manual
Instruction Set Summary
2.6.1 Instruction Set Summary
Table 2-7 lists implemented user-mode instructions by opcode.
Condition Code Register Bit Names
C
Carry
N
Negative
V
Overflow
X
Extend
Z
Zero
Table 2-7. User-Mode Instruction Set Summary
Instruction
Operand Syntax
Operand Size
Operation
ADD
Dy,<ea>x
<ea>y,Dx
.L
.L
destination
→
destination
ADDA
<ea>y,Ax
.L
destination
→
destination
ADDI
#<data>,Dx
.L
Immediate data + destination
→
destination
ADDQ
#<data>,<ea>x
.L
Immediate data + destination
→
destination
ADDX
Dy,Dx
.L
desti X
→
destination
AND
Dy,<ea>x
<ea>y,Dx
.L
.L
Source & destination
→
destination
ANDI
#<data>,Dx
.L
Immediate data & destination
→
destination
ASL
Dy,Dx
#<data>,Dx
.L
.L
X/C
←
(Dx << Dy)
←
0
X/C
←
(Dx << #<data>)
←
0
ASR
Dy,Dx
#<data>,Dx
.L
.L
MSB
→
(Dx >> Dy)
→
X/C
MSB
→
(Dx >> #<data>)
→
X/C
Bcc
<label>
.B,.W
If condition true, then PC + 2 + d
n
→
PC
BCHG
Dy,<ea>x
#<data>,<ea-1>x
.B,.L
.B,.L
~(<bit number> of destination)
→
Z,
Bit of destination
BCLR
Dy,<ea>x
#<data>,<ea-1>x
.B,.L
.B,.L
~(<bit number> of destination)
→
Z;
0
→
bit of destination
BRA
<label>
.B,.W
PC + 2 + d
n
→
PC
BSET
Dy,<ea>x
#<data>,<ea-1>x
.B,.L
.B,.L
~(<bit number> of destination)
→
Z;
1→
bit of destination
BSR
<label>
.B,.W
SP – 4
→
SP; next sequential PC
→
(SP); PC + 2 + d
n
→
PC
BTST
Dy,<ea>x
#<data>,<ea-1>x
.B,.L
.B,.L
~(<bit number> of destination)
→
Z
CLR
<ea>y,Dx
.B,.W,.L
0
→
destination
CMP
<ea>y,Ax
.L
Destination – source
Table 2-6. Notational Conventions (Continued)
Instruction
Operand Syntax
Содержание DigitalDNA ColdFire MCF5272
Страница 1: ...MCF5272UM D Rev 0 02 2001 MCF5272 ColdFire Integrated Microprocessor User s Manual ...
Страница 38: ...xxxviii MCF5272 User s Manual TABLES Table Number Title Page Number ...
Страница 58: ...1 10 MCF5272 User s Manual MCF5272 Specific Features ...
Страница 90: ...2 42 MCF5272 User s Manual Exception Processing Overview ...
Страница 96: ...3 6 MCF5272 User s Manual MAC Instruction Execution Timings ...
Страница 158: ...5 46 MCF5272 User s Manual Motorola Recommended BDM Pinout ...
Страница 184: ...7 12 MCF5272 User s Manual Interrupt Controller Registers ...
Страница 338: ...13 44 MCF5272 User s Manual Application Examples ...
Страница 414: ...18 6 MCF5272 User s Manual PWM Programming Model ...
Страница 452: ...19 38 MCF5272 User s Manual Power Supply Pins ...
Страница 482: ...20 30 MCF5272 User s Manual Reset Operation ...
Страница 492: ...21 10 MCF5272 User s Manual Non IEEE 1149 1 Operation ...
Страница 548: ...INDEX Index 12 MCF5272 User s Manual ...