Example 2, Instruction formats and opcodes, Instruction fields – Freescale Semiconductor StarCore SC140 User Manual
Page 548
Advertising

A-234
SC140 DSP Core Reference Manual
MAC
0.001
$1000
x 0.011$3000
0.0000110$0600
+0.1000000$4000
0.1000110$4600
Example 2
mac #$1000,d5,d6
Instruction Formats and Opcodes
Note:
** indicates serial grouping encoding.
Instruction Fields
k
Accumulation Notation
D5
$00 3000 0000
L6:D6
$0:$00 4000 0000
$0:$00 4600 0000
EMR
$0000 0000
Register/Memory Address
Before
After
SR
$00E0 0000
D5
$00 3000 261F
L6:D6
$0:$00 4000 0000
$0:$00 4600 0000
EMR
$0000 0000
Instruction
Words Cycles Type
Opcode
15
8
7
0
MAC #s16,Da,Dn
2
1
4
0
0
1
1
J
J
J
1
i
i
i
1
0
F
F
F
1
0
0
i
i
i
i
i
i
i
i
i
i
i
i
i
15
8
7
0
MAC
±Da,Db,Dn
1
1
1
0
*
1
0
0
0
F
F
F
k
0
J
J
J
J
J
15
8
7
0
MAC
±Da,Da,Dn
1
1
1
0
*
1
0
1
0
F
F
F
1
1
0
k
0
j
j
0
add
1
subtract
Register/Memory Address
Before
After
Advertising