Number System and Arithmetic Flashcards

1
Q

Sign extension is the step in

A

converting a signed integer from one size to another.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

0 has two representation in

A

Sign magnitude and 1’s complement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Standards in 32 bit IEEE 754 single precision format?

A

Sign bit = 1
Exponent = 8 (XS127)
Mantissa = 23

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Standards in 64 bit IEEE 754 double precision format?

A

Sign bit = 1
Exponent = 11(XS1023)
Mantissa = 52

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Example of Normalized number

A

0.12, 0.125, … (0.1 < m < 1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Example of IEEE normalized

A

1.1 x 2^4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

00000000H in IEEE is
e = 00H
s = 0
m = 0

A

+0 special number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

80000000H in IEEE is
e = 00H
s = 1
m = 0

A

-0 Special number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

7F8000000H in IEEE is
e = FFH
s = 0
m = 0

A

+∞ special number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

FF800000H in IEEE is
e = FFH
s = 1
m = 0

A

-∞ special number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

in IEEE standard if
e = 00H
s = 0/1
m ≠ 0

A

Denormalized number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

in IEEE standard if
e = FFH
s = 0/1
m ≠ 0

A

Not a Number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Smallest normalized positive number in IEEE

A

s = 0
e = 00000001
m = 00000000000000000000000

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Largest normalized positive number in IEEE

A

s = 0
e = 11111110
m = 11111111111111111111111

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Big Endian addressing of (original = 0x6566)

A

0x6566
Most significant byte has lowest (first) address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Little Endian addressing of (original = 0x6566)

A

0x6665
Least significant byte has lowest address.