Lecture 3
Lecture 3
Computer Architecture
&Organization
prepared by
Ibrahim Shawky Farahat
Instruction Cycle
An instruction cycle, also known as a fetch-decode-
execute cycle, is the basic operation performed by a
central processing unit (CPU) to execute an instruction.
Memory Buffer Register (MBR) (also known as
memory data register (MDR)) is the register in a
computer's processor that stores the data being
transferred to and from the immediate access storage.
It also uses the two main units in the CPU; the control unit and the arithmetic logic
unit.
During the fetch phase the next instruction address is copied from the PC into the
MAR which then fetches the instruction at that location using the address bus.
The instruction is held in the MDR register and duplicated into the CIR register.
The PC then increments by one.
During the decode stage, the instruction in the CIR is decoded using decoder.
MAR= MAR=
300 940
Example of Program Execution
MAR=
301 MAR=
941
Example of Program Execution
MAR= MAR=
302 941
Questions