Instruction formats and opcodes instruction fields – Freescale Semiconductor StarCore SC140 User Manual
Page 474

A-160
SC140 DSP Core Reference Manual
DOENSHn
Instruction Formats and Opcodes
Instruction Fields
n
Loop Identifier
DR
HHHH
Data/Address Register
SR
$00E4 0000
$A0E4 0000
Instruction
Words Cycles Type
Opcode
15
8
7
0
DOENSHn #u6
1
1
4
1
0
0
1
0
1
n
n
0
1
i
i
i
i
i
i
15
8
7
0
DOENSHn #u16
2
1
4
0
0
1
0
0
1
n
n
i
i
i
0
0
1
0
0
1
0
0
i
i
i
i
i
i
i
i
i
i
i
i
i
15
8
7
0
DOENSHn DR
1
1
4
1
0
0
1
1
1
n
n
0
1
0
0
H H H H
00
Loop 0
01
Loop 1
10
Loop 2
11
Loop 3
0000
D0
0100
D4
1000
R0
1100
R4
0001
D1
0101
D5
1001
R1
1101
R5
0010
D2
0110
D6
1010
R2
1110
R6
0011
D3
0111
D7
1011
R3
1111
R7
Note:
This instruction can specify D8-D15 or R8-R15 as operands by using a high register prefix.
#u6
iiiiii
6-bit unsigned immediate data
#u16
iiiiiiiiiiiiiiii
16-bit unsigned immediate data
Register/Memory Address
Before
After