Analog Devices adsp-2100 Manual page 453

Adsp-2100 family programmable single-chip microprocessors
Table of Contents

Advertisement

C Numeric Formats
Bit
15
Weight
–(2
Sign
Bit
Bit
Weight
Figure C.1 Integer Format
In a fractional format, the assumed radix point lies within the number, so
that some or all of the magnitude bits have a weight of less than 1. In the
format shown in Figure C.2, the assumed radix point lies to the left of the
3 LSBs, and the bits have the weights indicated.
Bit
Weight
–(2
Sign
Bit
Bit
Weight
Figure C.2 Example Of Fractional Format
C – 2
14
13
15
14
13
)
2
2
Signed Integer
15
14
13
15
14
13
2
2
2
Unsigned Integer
15
14
13
12
11
10
)
2
2
Signed Fractional (13.3)
15
14
13
12
11
10
2
2
2
Unsigned Fractional (13.3)
2
1
2
1
• • •
2
2
2
1
2
1
• • •
2
2
4
1
• • •
2
2
4
1
• • •
2
2
0
0
2
Radix Point
0
0
2
Radix Point
3
2
1
0
0
–1
–2
–3
2
2
2
Radix Point
3
2
1
0
0
–1
–2
–3
2
2
2
Radix Point

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents