Unsigned-integer formats, Short unsigned-integer format, Single-precision unsigned-integer format – Texas Instruments TMS320C3x User Manual
Page 108: 2 unsigned-integer formats

Unsigned-Integer Formats
5-3
Data Formats and Floating-Point Operation
5.2
Unsigned-Integer Formats
The ’C3x supports two unsigned-integer formats: a 16-bit short format and a
32-bit single-precision format.
Note:
In extended-precision registers, the unsigned-integer operands use only bits
31– 0; bits 39–32 remain unchanged.
5.2.1
Short Unsigned-Integer Format
Figure 5–3 shows the16-bit, short, unsigned-integer format for immediate
unsigned-integer operands. For those instructions which assume unsigned-
integer operands, this format is zero filled to 32 bits. The range of a short
unsigned integer is 0
≤
si
≤
2
16
.
Figure 5–3. Short Unsigned-Integer Format and Zero Fill
15
0
15
16
31
0
Short unsigned-integer format
Zero fill of a short unsigned integer
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
5.2.2
Single-Precision Unsigned-Integer Format
In the single-precision unsigned-integer format, the number is represented as
a 32-bit value, as shown in Figure 5–4. The range of a single-precision unsigned
integer is 0
≤
sp
≤
2
32
.
Figure 5–4. Single-Precision Unsigned-Integer Format
31
0