Number System and Arithmetic Flashcards
Sign extension is the step in
converting a signed integer from one size to another.
0 has two representation in
Sign magnitude and 1’s complement
Standards in 32 bit IEEE 754 single precision format?
Sign bit = 1
Exponent = 8 (XS127)
Mantissa = 23
Standards in 64 bit IEEE 754 double precision format?
Sign bit = 1
Exponent = 11(XS1023)
Mantissa = 52
Example of Normalized number
0.12, 0.125, … (0.1 < m < 1)
Example of IEEE normalized
1.1 x 2^4
00000000H in IEEE is
e = 00H
s = 0
m = 0
+0 special number
80000000H in IEEE is
e = 00H
s = 1
m = 0
-0 Special number
7F8000000H in IEEE is
e = FFH
s = 0
m = 0
+∞ special number
FF800000H in IEEE is
e = FFH
s = 1
m = 0
-∞ special number
in IEEE standard if
e = 00H
s = 0/1
m ≠ 0
Denormalized number
in IEEE standard if
e = FFH
s = 0/1
m ≠ 0
Not a Number
Smallest normalized positive number in IEEE
s = 0
e = 00000001
m = 00000000000000000000000
Largest normalized positive number in IEEE
s = 0
e = 11111110
m = 11111111111111111111111
Big Endian addressing of (original = 0x6566)
0x6566
Most significant byte has lowest (first) address.