Professional Documents
Culture Documents
Digital Handout
Digital Handout
UNIT V
Digital Electronics
Complements
Decimal number complements
1
12/12/2022
r’s complement
10’s complement of the decimal number N = 10n – N = (r-1)’s
complement + 1
Example 10’s complement of 134795 is 865205
Example find the 9’s and 10’s complements of 314700.
Answer 9’s complement = 685299 10’s complement=685300
2
12/12/2022
3
12/12/2022
4
12/12/2022
76425
+71679
148104 Discard 1
5
12/12/2022
6
12/12/2022
3.1 Introduction
14
7
12/12/2022
3.1 Introduction
15
16
8
12/12/2022
17
18
9
12/12/2022
19
20
10
12/12/2022
• As with common
arithmetic, Boolean
operations have rules of
precedence.
• The NOT operator has
highest priority, followed
by AND and then OR.
• This is how we chose the
(shaded) function
subparts in our table.
21
22
11
12/12/2022
23
24
12
12/12/2022
25
26
13
12/12/2022
27
is:
28
14
12/12/2022
29
30
15
12/12/2022
32
16
12/12/2022
33
• The three simplest gates are the AND, OR, and NOT
gates.
17
12/12/2022
35
36
18
12/12/2022
37
38
19
12/12/2022
39
40
20
12/12/2022
41
42
21
12/12/2022
43
44
22
12/12/2022
45
46
23
12/12/2022
47
If x = 0 and y = 1,
which output line
is enabled?
48
24
12/12/2022
49
If S0 = 1 and S1 = 0,
which input is
transferred to the
output?
50
25
12/12/2022
• This shifter
moves the
bits of a
nibble one
position to the
left or right.
If S = 0, in which
direction do the
input bits shift?
51
26
12/12/2022
27