Lecture 2-Chapter - 1 - Digital - Systems - and - Binary - Numbers
Lecture 2-Chapter - 1 - Digital - Systems - and - Binary - Numbers
Octal Binary
8 = 23
Each group of 3 bits represents an octal 0 000
digit 1 001
2 010
Assume Zeros
Example: 3 011
( 1 0 1 1 0 . 0 1 )2 4 100
5 101
6 110
( 2 6 . 2 )8 7 111
Example:
( 2 6 . 2 )8
( 0 1 0 1 1 0 . 0 1 0 )2
(1 6 . 4 )16
Example (10110000)2
(01001111)2
If you add a number and its 1’s complement …
10110000
+ 01001111
11111111
Radix Complement
Example: Base-10
Example: Base-2
Example 1.5
◆ Using 10's complement, subtract 72532 – 3250.
Example 1.6
◆ Using 10's complement, subtract 3250 – 72532.
Example 1.7
◆ Given the two binary numbers X = 1010100 and Y = 1000011, perform the
subtraction (a) X – Y ; and (b) Y − X, by using 2's complement.
Table 1.3 lists all possible four-bit signed binary numbers in the
three representations.
Digital Logic Design Ch1-31
Signed Binary Numbers