Core Control Registers
SC140 DSP Core Reference Manual
3-5
S
Bit 6
Scaling Bit — Set when moving a result
from a data register (D0–D15) to
memory using a MOVES (saturated
move) instruction. The scaling bit is set
when the absolute value of the data that
is moved to memory (after scaling and
limiting) is greater than or equal to 0.25
and less than 0.75.
The logical equations of this bit, if viewed
as functions of the data in the register,
are dependent on the scaling mode.
If limiting occurs during a data register
transfer to memory, the scaling bit is not
affected. This bit is a sticky bit and it
remains set until explicitly cleared.
This bit is cleared at core reset.
S1–S0
Bits 5–4
Scaling Mode Bits — Specify the
scaling to be performed in the DALU
shifter/limiter as well as the rounding
position in the DALU MAC unit.
The shifter/limiter scaling mode affects
data read from the D0–D15 registers out
to the data memory bus using a MOVES
instruction. The scaling mode also
affects the calculation of the Ln bit for a
class of DALU instructions. See
Section 2.2.1.5, “Scaling,”
and
Section 2.2.1.6, “Limiting,”
for more
information.
The scaling mode also affects the MAC
rounding bit position. Correct rounding is
maintained when different portions of the
registers are read out to the data
memory buses. For more information,
see
Section 2.2.2.6, “Rounding Modes.”
During arithmetic saturation mode, the
scaling bits are ignored for most DALU
instructions. See
Section 2.2.2.7,
“Arithmetic Saturation Mode.”
These bits are cleared at the start of an
exception service routine as well as at
core reset.
RM
Bit 3
Rounding Mode Bit — Selects the type
of rounding performed by the DALU
during arithmetic operations that involve
rounding. See
Section 2.2.2.6, “Rounding
Modes.”
This bit is cleared at core reset.
0 = Convergent rounding selected
1 = Two’s complement rounding selected
Table 3-1. Status Register Description (Continued)
Name
Description
Settings
S1
S0
Scaling
Mode
S Equation
0
0
No scaling
S = (D30 XOR D29)
OR S (previous)
0
1
Scale down
S = (D31 XOR D30)
OR S (previous)
1
0
Scale up
S = (D29 XOR D28)
OR S (previous)
1
1
Reserved
S = Undefined
S1
S0
Rounding
Bit
Scaling Mode
0
0
15
No scaling
0
1
16
Scale down
(1-bit Arithmetic Right
Shift)
1
0
14
Scale up
(1-bit Arithmetic Left Shift)
1
1
—
Reserved
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: ......