Extended-Precision Register Floating-Point Format; Extended-Precision Register Integer Format - Texas Instruments TMS320C3x User Manual

Texas instruments computer hardware user's guide
Table of Contents

Advertisement

3.1.1
Extended-Precision Registers (R7–R0)
Figure 3–1. Extended-Precision Register Floating-Point Format
Figure 3–2. Extended-Precision Register Integer Format
The registers also have some special functions for which they are particularly
appropriate. For example, the eight extended-precision registers are especially
suited for maintaining extended-precision floating-point results. The eight auxiliary
registers support a variety of indirect addressing modes and can be used as
general-purpose 32-bit integer and logical registers. The remaining registers
provide system functions, such as addressing, stack management, processor
status, interrupts, and block repeat. See Chapter 6, Addressing Modes , for more
information.
The eight extended-precision registers (R7–R0) can store and support operations
on 32-bit integer and 40-bit floating-point numbers. These registers consist of two
separate and distinct regions:
-
Bits 39–32: dedicated to storage of the exponent (e) of the floating-point
number.
-
Bits 31–0: store the mantissa of the floating-point number:
J
Bit 31: sign bit (s)
J
Bits 30–0: the fraction (f)
Any instruction that assumes the operands are floating-point numbers uses
bits 39–0. Figure 3–1 illustrates the storage of 40-bit floating-point numbers
in the extended-precision registers.
39
32 31 30
Exponent
Sign
For integer operations, bits 31–0 of the extended-precision registers contain
the integer (signed or unsigned). Any instruction that assumes the operands
are either signed or unsigned integers uses only bits 31–0. Bits 39–32 remain
unchanged. This is true for all shift operations. The storage of 32-bit integers
in the extended-precision registers is shown in Figure 3–2.
39
32 31
Unchanged
CPU Multiport Register File
Fraction
Mantissa
Signed or unsigned integer
CPU Registers
0
0
3-3

Advertisement

Table of Contents
loading

Table of Contents