binary Flashcards
SIGNED MAGNITUDE
Positive to signed magnitude representation
Standard binary encoding
SIGNED MAGNITUDE
Negative to signed magnitude representation
Standard binary with a sign bit
SIGNED MAGNITUDE
10001110
-14
ONE’S COMPLEMENT
Negative to one’s complement representation
Flipped standard binary with a sign bit
SIGNED MAGNITUDE
0 representation
00000000 | 10000000
SIGNED MAGNITUDE
00001110
14
ONE’S COMPLEMENT
Positive to one’s complement representation
Standard binary encoding
ONE’S COMPLEMENT
00001110
14
ONE’S COMPLEMENT
0 representation
00000000 | 11111111
ONE’S COMPLEMENT
11110001
-14
TWO’S COMPLEMENT
Negative to two’s complement representation
Flipped standard binary encoding with sign bit + 1
TWO’S COMPLEMENT
Positive to two’s complement representation
Standard binary encoding
TWO’S COMPLEMENT
00001110
14
TWO’S COMPLEMENT
11110010
-14
TWO’S COMPLEMENT
0 representation
00000000
EXCESS REPRESENTATION
Integer to excess representation
Add the excess to the denary number (14 + 32 = 46)
Convert it to binary (00101110)
EXCESS REPRESENTATION
14 into excess, excess = 32
00101110
EXCESS REPRESENTATION
45 into excess, excess = 6
00110011
EXCESS REPRESENTATION
00101110 into denary with excess = 32
46 - 32
14
EXCESS REPRESENTATION
00110011 into denary with excess = 6
51 = 6
45