A-10
SC140 DSP Core Reference Manual
DSP Core Instruction Set
Example:
lpmarkB;(set LA – 2)
;(set LA – 1)
_last ;(set
LA)
In the case of a loop with two execution sets such as SA mark, the lpmarkB bit is set in the first
execution set of the loop.
Example:
_start execution_set lpmarkB
_last
execution_set ;(this is a loop on two execution sets)
j
:
lpmarkA bit
In case of a loop with more than three execution sets, the lpmarkA bit is set in the prefix of the
execution set, which is at _last only if there were any SKIPLS, BREAK, CONT, CONTD to
_last, or to _last-1.
Example:
skipl _last ;(there is a skipl to _last in the program)
.
.
.
execution_set
execution_set
_last
execution_set lpmarkA
In the case of the loop having just one execution set, the lpmarkA bit is set in the prefix of the
first execution set of the loop.
EEE
:
Data register expansion for DALU execution unit 0 (bit names: E1, E2, E3). This includes all
DALU instructions. For three-operand instructions (inst op1,op2,op3):
––1:
high data register is used for the op3 field (E3 is set)
–1–:
high data register is used for the op1 field (E2 is set)
1––:
high data register is used for the op2 field (E1 is set)
In case of two-operand MAC unit instructions, only E1 and E3 are used. In case of
one-operand MAC unit instructions, only ––E3 is used.
In case of four-operand instructions with data registers defined as third and fourth operands,
E1 and E3 used similarly to two-operand instructions.
Each of the E bits serves as a fourth register field encoding bit, effectively turning
FFF
→
FFFF, etc. For example, the D0-7 registers are expanded to D0-15. Each E bit selects
the low or high bank of registers for that field.
Fields representing multiple registers in DALU instructions could be scaled up independantly.
For instance, the register pair encoding in the instruction MAX D0,D4 can be expanded to
MAX D8,D4.
eee
:
The same as EEE, but for DALU execution unit 1.
BBB
:
The same as EEE, but for DALU execution unit 2.
bbb
:
The same as EEE, but for DALU execution unit 3.
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: ......