![Freescale Semiconductor SC140 DSP Core Reference Manual Download Page 158](http://html1.mh-extra.com/html/freescale-semiconductor/sc140-dsp-core/sc140-dsp-core_reference-manual_2330564158.webp)
4-48
SC140 DSP Core Reference Manual
EOnCE Controller Registers
4.7.7 Core Command Register (CORE_CMD)
The CORE_CMD register is used to execute instructions in the core while in debug state. The external host
writes the instruction into the CORE_CMD register as described in
Section 4.2.6, “Reading/Writing
EOnCE Registers Through JTAG.”
The EOnCE commands written into the ECR must be Write
CORE_CMD and GO. After writing the instruction into the CORE_CMD register, the core executes it
without leaving debug state. If the EX bit in ECR is also set, debug state is exited after the instruction is
performed.
The format of the injected command is shown in Figure 4-19 below.
Figure 4-19. Injected Instruction Format
The length control bits are described in Table 4-17, below:
The two prefix bits allow the instruction to use the high bank of registers. Bits 15 and 14 in the second and
third words encode the grouping/word partition used by the core for execution set parsing. In the case of a
single instruction, they do not need to be part of the CORE_CMD word. For further details, see
Appendix A, “SC140 DSP Core Instruction Set.”
In general, core commands should not perform illegal operations. In case a core command generated an
exception (such as an illegal exception), the exception will be serviced only after the core exits debug state.
Table 4-17. Length Control Bits
Length Control Bits
Description
0
0
Not supported
0
1
One word instruction
1
0
Two word instruction
1
1
Three word instruction
ImmB
14 bits
bits [0:13]
ImmA
14 bits
bits [0:13]
Opcode
16 bits
bits [0:15]
Ext.
Prefix
2 bits
Length
Control
2 bits
{Prefix1[5], Prefix1[7]}
Prefix1
Prefix2 Opcode ImmA ImmB
[15:0]
[15:0] [15:0] [15:0]
[15:0]
Bit
47
34 33
20 19
4
3
2
1
0
Instruction Bus (IB)
CORE_CMD
Summary of Contents for SC140 DSP Core
Page 12: ...xii SC140 DSP Core Reference Manual ...
Page 18: ...xviii SC140 DSP Core Reference Manual ...
Page 32: ...1 6 SC140 DSP Core Reference Manual Core Architecture Features ...
Page 180: ...4 70 SC140 DSP Core Reference Manual Trace Unit Registers ...
Page 250: ...6 70 SC140 DSP Core Reference Manual Programming Rules ...
Page 314: ...7 64 SC140 DSP Core Reference Manual NOP Definition ...
Page 463: ...DI SC140 DSP Core Reference Manual A 149 15 8 7 0 DI 1 1 4 1 0 0 1 1 1 1 1 0 1 1 1 1 1 0 1 ...
Page 478: ...A 164 SC140 DSP Core Reference Manual EI ...
Page 618: ...A 304 SC140 DSP Core Reference Manual MOVES 4F s15 sssssssssssssss Signed 15 bit offset ...
Page 638: ...A 324 SC140 DSP Core Reference Manual MPYR ...
Page 746: ...A 432 SC140 DSP Core Reference Manual ZXTA x ...
Page 758: ...I 10 Index ...
Page 759: ...SC140 DSP Core Reference Manual i ...
Page 760: ......