dsp56000 Freescale Semiconductor, Inc, dsp56000 Datasheet - Page 525
dsp56000
Manufacturer Part Number
dsp56000
Description
24-bit Digital Signal Processor Family Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet
1.DSP56000.pdf
(637 pages)
- Current page: 525 of 637
- Download datasheet (4Mb)
Convergent rounding differs from ‘‘standard’’ rounding in that convergent rounding
attempts to remove the aforementioned positive bias by equally distributing the round-off
error. The convergent rounding technique initially performs “standard” rounding as previ-
ously described. Again, the rounding constant depends on the scaling mode being used.
Once “standard” rounding has been done, the convergent rounding method tests the
result to determine if all bits including and to the right of the rounding position are
zero. If, and only if, this special condition is true, the convergent rounding method will
clear the bit immediately to the left of the rounding position. When this special condition
is true, numbers which have a “1” in the bit immediately to the left of the rounding posi-
tion are rounded up; numbers with a “0” in the bit immediately to the left of the rounding
position are rounded down. Thus, these numbers are rounded up half the time and
rounded down the rest of the time. Therefore, the roundoff error averages out to zero.
The LS bits of the convergently rounded result are then cleared so that the rounded
result may be immediately used by the next instruction.
Example:
Explanation of Example: Prior to execution, the 56-bit A accumulator contains the
value $00:123456:789ABC for Case I, the value $00:123456:800000 for Case II, and the
value $00:123455:800000 for Case III. The execution of the RND A instruction rounds
the value in the A accumulator into the MSP portion of the A accumulator (A1), using
convergent rounding, and then zeros the LSP portion of the A accumulator (A0). Note
that Case II is the special case that distinguishes convergent rounding from standard or
biased rounding.
MOTOROLA
RND
Case III: A
Case II: A
Case I: A
RND A #$123456,X1 B,Y1
:
:
$00:123456:789AB
$00:123456:800000
$
00:123456:800000
Before Execution
Freescale Semiconductor, Inc.
INSTRUCTION SET DESCRIPTIONS
For More Information On This Product,
INSTRUCTION SET DETAILS
Round Accumulator
Go to: www.freescale.com
;round A accumulator into A1, zero A0
A
A
A
$00:123456:000000
$00:123456:000000
$00:123456:000000
After Execution
RND
A - 259
Related parts for dsp56000
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
TTLPWG Series FAST / TTL Pulse Width Generator Modules
Manufacturer:
RHOMBUS-IND [Rhombus Industries Inc.]
Datasheet:
Part Number:
Description:
Dsp Microcomputer
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Dsp Microcomputer
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Dsp Microcomputer
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Dsp Microcomputer
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Dsp Microcomputer
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Dsp Microcomputer
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Dsp Microcomputer
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Dsp Microcomputer
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Dsp Microcomputer
Manufacturer:
Analog Devices, Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet: