Coa Unit 0
Coa Unit 0
and Architecture
UNIT -0
Secondary Memory:
Fetch:
The Program Counter (PC) holds the address of the next
instruc on.
The Control Unit fetches the instruc on from the memory Logic gates are fundamental building blocks of digital circuits,
loca on pointed to by the PC. and they perform logical opera ons on one or more binary
The fetched instruc on is stored in the Instruc on Register inputs to produce a binary output. Here are some common
(IR). types of logic gates:
Output is the opposite (complement) of the input. Diagram of the all logic gates
Symbol: ¬ or A
Truth Table:
A | Output
0 | 1
1 | 0
NAND Gate:
Output is false (0) only if all inputs are true (1).
Symbol: A ⊼ B or ¬(A ∧ B)
Truth Table:
A | B | Output
0 | 0 |1
0 | 1 |1
1 | 0 |1
1 | 1 |0
NOR Gate:
Output is false (0) if at least one input is true (1).
Symbol: A ⊽ B or ¬(A ∨ B)
Truth Table:
A | B | Output
0 | 0 |1
0 | 1 |0
1 | 0 |0
1 | 1 |0