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
Содержание SC140 DSP Core
Страница 12: ...xii SC140 DSP Core Reference Manual ...
Страница 18: ...xviii SC140 DSP Core Reference Manual ...
Страница 32: ...1 6 SC140 DSP Core Reference Manual Core Architecture Features ...
Страница 180: ...4 70 SC140 DSP Core Reference Manual Trace Unit Registers ...
Страница 250: ...6 70 SC140 DSP Core Reference Manual Programming Rules ...
Страница 314: ...7 64 SC140 DSP Core Reference Manual NOP Definition ...
Страница 385: ...BMCHG W SC140 DSP Core Reference Manual A 71 u16 iiiiiiiiiiiiiiii 16 bit unsigned immediate data ...
Страница 388: ...A 74 SC140 DSP Core Reference Manual BMCHG W s16 AAAAAAAAAAAAAAAA 16 bit signed SP address offset ...
Страница 391: ...BMCLR SC140 DSP Core Reference Manual A 77 u16 iiiiiiiiiiiiiiii 16 bit unsigned immediate data ...
Страница 454: ...A 140 SC140 DSP Core Reference Manual DECA u5 iiiii 5 bit unsigned immediate data 1 set by the assembler ...
Страница 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 ...
Страница 478: ...A 164 SC140 DSP Core Reference Manual EI ...
Страница 592: ...A 278 SC140 DSP Core Reference Manual MOVE L a32 aaaaaaaaaaaaaaaaAAAAAAAAAAAAAAAA 32 bit absolute long address ...
Страница 618: ...A 304 SC140 DSP Core Reference Manual MOVES 4F s15 sssssssssssssss Signed 15 bit offset ...
Страница 638: ...A 324 SC140 DSP Core Reference Manual MPYR ...
Страница 660: ...A 346 SC140 DSP Core Reference Manual OR W s16 AAAAAAAAAAAAAAAA Signed 16 bit SP address offset ...
Страница 746: ...A 432 SC140 DSP Core Reference Manual ZXTA x ...
Страница 758: ...I 10 Index ...
Страница 759: ...SC140 DSP Core Reference Manual i ...
Страница 760: ......