Beruflich Dokumente
Kultur Dokumente
ANDHRA PRADESH
Name : U.Rajya Lakshmi
Designation : Lecturer
Branch : Computer Engg.,
Institute : Govt.Polytechnic for Women,
PALAMANER.
Year/Semester : III Semester
Subject : Computer Architecture
Subject Code : CM-303
Topic : CPU Organization
Sub Topic : Single Accumulator Based CPU
The function of each unit.
Duration : 100 Min
Teaching aids : PPT,drawings
CM303.3 to 4 1
Recap
• Various functional units of CPU
CU, Internal Processor Memory and ALU
• Control Unit
controls the operation of all other units
• Arithmetic and Logic unit
performs all arithmetic and logical operations
• Internal Processor Memory
A set of registers used to hold information temporarily
CM303.3 to 4 2
Simple Accumulator Based CPU
CM303.3 to 4 3
Objectives
CM303.3 to 4 4
Introduction
CM303.3 to 4 5
Introduction
• Instructions are stored in consecutive memory
locations
CM303.3 to 4 6
Introduction
CM303.3 to 4 7
Simple Accumulator based CPU
CM303.3 to 4 8
Simple Accumulator based CPU
CM303.3 to 4 9
Simple Accumulator based CPU
• AC holds
One of the inputs prior to execution of an
instruction
and also receives output
CM303.3 to 4 10
Block Diagram of Single Accumulator based CPU
Add
Sub
T
Memory & I/o ALU Shift
o
interface unit
Data processing
AC
m unit
e
MDR
m
o
r
y PC IR
MAR Instruction
&
decoder
CM303.3 to 4 12
Simple accumulator based CPU
• Program Counter(PC)
• Instruction Register(IR)
• Instruction Decoder(ID)
• Control Circuits
CM303.3 to 4 13
Simple accumulator based CPU
• Accumulator(AC)
• Arithmetic and Logical Unit(ALU)
CM303.3 to 4 14
Simple accumulator based CPU
CM303.3 to 4 15
Single accumulator based CPU
Function of Program Control Unit
• Program Counter
• Instruction Register
CM303.3 to 4 16
Single accumulator based CPU
Function of Program Control Unit
• Instruction Decoder
• Control Circuits
CM303.3 to 4 17
Single accumulator based CPU
Function of Program control unit(PCU)
CM303.3 to 4 18
Summary
In this class you have learnt
• The block diagram of simple accumulator based
CPU
• Various units of simple accumulator based CPU
• Program Control Unit
• Data Processing Unit
• Memory and I/O interface Unit
• Main components of Program Control Unit
PC,IR,ID and control circuits
CM303.3 to 4 19
1. AC is used to store
a) input
b) output
c) Both a & b
d) None of the above
CM303.3 to 4 20
Quiz
1. AC is used to store
• input
• output
• Both a & b
• None of the above
CM303.3 to 4 21
Quiz
2. instructions are executed by the CPU in
___________order
a) random
b) Sequential
c) Both a & b
d) None of the above
CM303.3 to 4 22
Quiz
2. instructions are executed by the CPU in
___________order
• random
• Sequential
• Both a & b
• None of the above
CM303.3 to 4 23
Quiz
3. PC stands for
a) Performance check
b) Program clock
c) Process clock
d) Program counter
CM303.3 to 4 24
Quiz
3. PC stands for
• Performance check
• Program clock
• Process clock
• Program counter
CM303.3 to 4 25
Quiz
4. One important register of PCU
CM303.3 to 4 26
Quiz
4. One important register of PCU
CM303.3 to 4 27
Quiz
5. PC contains
a) data
b) Instruction
c) Address of next instruction
d) None of the above
CM303.3 to 4 28
Quiz
5. PC contains
• data
• Instruction
• Address of next instruction
• None of the above
CM303.3 to 4 29
Quiz
6. IR contains
a) data
b) Instruction
c) Address
d) None of the above
CM303.3 to 4 30
Quiz
6. IR contains
• data
• Instruction
• Address
• None of the above
CM303.3 to 4 31
Quiz
7. ID function is
a) to read instruction
b) to read data
c) to write data
d) to decode the instruction
CM303.3 to 4 32
Quiz
7. ID function is
• to read instruction
• to read data
• to write data
• to decode the instruction
CM303.3 to 4 33
Essay type Questions
CM303.3 to 4 34