English
Language : 

MCF5407AI162 Datasheet, PDF (123/546 Pages) Micro Commercial Components – Integrated Microprocessor Users Manual
MAC Instruction Execution Timings
• Two’s complement unsigned integer: In this format, an N-bit operand represents a
number within the range 0 < operand < 2N - 1. The binary point is to the right of the
least significant bit.
• Two’s complement, signed fractional: In an N-bit number, the first bit is the sign bit.
The remaining bits signify the first N-1 bits after the binary point. Given an N-bit
number, aN-1aN-2aN-3... a2a1a0, its value is given by the following formula:
N–2
∑ +
2(i + 1 – N) ⋅ ai
i=0
This format can represent numbers in the range -1 < operand < 1 - 2(N-1).
For words and longwords, the greatest negative number that can be represented is -1,
whose internal representation is 0x8000 and 0x0x8000_0000, respectively. The
most positive word is 0x7FFF or (1 - 2-15); the most positive longword is
0x7FFF_FFFF or (1 - 2-31).
3.2 MAC Instruction Execution Timings
Table 3-2 shows standard timings for two-operand MAC instructions.
Table 3-2. Two-Operand MAC Instruction Execution Times
Opcode
mac.w
mac.l
msac.w
msac.l
mac.w
mac.l
msac.w
msac.l
muls.w
mulu.w
muls.l
mulu.l
<ea>
Ry,Rx
Ry,Rx
Ry,Rx
Ry,Rx
Ry,Rx,ea,Rw
Ry,Rx,ea,Rw
Ry,Rx,ea,Rw
Ry,Rx,ea,Rw
<ea>,Dx
<ea>,Dx
<ea>,Dx
<ea>,Dx
Rn
1(0/0)
3(0/0)
1(0/0)
3(0/0)
—
—
—
—
3(0/0)
3(0/0)
5(0/0)
5(0/0)
Effective Address
(An) (An)+ -(An) (d16,An) (d8,An,Xi*SF) (xxx).wl
—
—
—
—
1(1/0)
3(1/0)
1(1/0)
3(1/0)
3(1/0)
3(1/0)
5(1/0)
5(1/0)
—
—
—
—
1(1/0)
3(1/0)
1(1/0)
3(1/0)
3(1/0)
3(1/0)
5(1/0)
5(1/0)
—
—
—
—
1(1/0)
3(1/0)
1(1/0)
3(1/0)
3(1/0)
3(1/0)
5(1/0)
5(1/0)
—
—
—
—
1(1/0)
3(1/0)
1(1/0)
3(1/0)
3(1/0)
3(1/0)
5(1/0)
5(1/0)
—
—
—
—
—
—
—
—
4(1/0)
4(1/0)
—
—
—
—
—
—
—
—
—
—
3(1/0)
3(1/0)
—
—
#<xxx>
—
—
—
—
—
—
—
—
3(0/0)
3(0/0)
—
—
Table 3-3 shows standard timings for MAC move instructions.
Chapter 3. Hardware Multiply/Accumulate (MAC) Unit
3-5