Вы находитесь на странице: 1из 14

DEPARTMENT OF TECHNICAL EDUCATION

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 : Sequence of Micro operations
Duration : 50 Min
Teaching aids : PPT,drawings
CM303.11 1
Recap
• Two basic cycles involved in the instruction
execution
Fetch Cycle
Execute Cycle
• Fetch Cycle
During this new instruction is read out from memory
• Execute Cycle
During this the operation is performed on data
• Instruction Cycle
Sequence of operations involved in processing an
instruction
CM303.11 2
Objectives

On completion of this period you would be able


to know

- The sequence of micro operations


involved in processing an instruction

CM303.11 3
Instructions cycles

• To perform an instruction CPU has to go


through two sub cycles
• Fetch cycle
• Execute cycle

CM303.11 4
Fetch cycle

• During fetch cycle

• The instruction is loaded in to IR and


• PC contents are updated

CM303.11 5
Execute cycle

• During execute cycle

• The instruction is decoded and


• The operations specified by the instruction
are performed

CM303.11 6
Execute cycle
• For each instruction given to the computer
CPU needs to execute a sequence of micro
operations

• The sequence of operations involved in


processing an instruction can be represented
in a flow chart

CM303.11 7
Execute cycle
• A flow chart is pictorial representation of
- The data flow and the processing of steps
- The logic of computer program

• Flow chart uses pre-defined symbols to describe


the logic and data flow

CM303.11 8
Flow chart of the sequence of micro operations
Start

CPU
C activate no
d
f
yes e
t
MAR PC c
h

MDR
M(MAR)
c
IR MDR y
c
l
e
A CM303.11
Contd., 9
A

ADD no JUMP no Text for other


Instructio Instructio instruction
n n
yes
E
MAR IR(addr) yes x
e
c
u
MDR t
M(MAR) e

AC AC+MDR PC c
IR(addr)
c
C C y
c
CM303.11 10 l
e
Summary

• In this class you have learnt


• The sequence of micro operations
involved in processing an instruction

CM303.11 11
Quiz

1. The pictorial representation of computer logic is

a) Flow diagram
b) Flow chart
c) Instruction chart

CM303.11 12
Quiz

1. The pictorial representation of computer logic is

• Flow diagram
• Flow chart
• Instruction chart

CM303.11 13
Frequently Asked Questions

1. Draw the flow chart showing the sequence of micro


operations involved in processing an instruction

CM303.11 14

Вам также может понравиться