Computer Architecture Instruction Cycle: A Detailed Explanation, Study Guides, Projects, Research of Computer science

The processor executes these instructions through a cycle for each instruction. In a basic computer, each instruction cycle consists of the following phases:.

Typology: Study Guides, Projects, Research

2021/2022

Uploaded on 09/27/2022

myohmy
myohmy 🇬🇧

4.8

(10)

297 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Instruction Cycle
Er. Anshu Singh
Assistant Professor
Computer Science & Engineering Department
University of Lucknow
Lucknow
Branch: BCA
Semester: 3
Subject: Computer Architecture
Disclaimer: The e-content is exclusively meant for academic purposes and for
enhancing teaching and learning. Any other use for economic/commercial
purpose is strictly prohibited. The users of the content shall not distribute,
disseminate or share it with anyone else and its use is restricted to advancement
of individual knowledge. The information provided in this e-content is
developed from authentic references, to the best of my knowledge.
pf3
pf4

Partial preview of the text

Download Computer Architecture Instruction Cycle: A Detailed Explanation and more Study Guides, Projects, Research Computer science in PDF only on Docsity!

Instruction Cycle

Er. Anshu Singh

Assistant Professor

Computer Science & Engineering Department

University of Lucknow

Lucknow

Branch: BCA

Semester: 3

Subject: Computer Architecture

Disclaimer: The e-content is exclusively meant for academic purposes and for

enhancing teaching and learning. Any other use for economic/commercial

purpose is strictly prohibited. The users of the content shall not distribute,

disseminate or share it with anyone else and its use is restricted to advancement

of individual knowledge. The information provided in this e-content is

developed from authentic references, to the best of my knowledge.

Instruction Cycle

A program that exists inside a computer's memory unit consists of a series of instructions. The processor executes these instructions through a cycle for each instruction. In a basic computer, each instruction cycle consists of the following phases: Instruction fetch: fetch instruction from memory Decode the instruction : what operation to be performed. Read the effective address from memory Execute the instruction Registers Involved In Each Instruction Cycle: Memory address registers(MAR) : It is connected to System Bus address lines. It specifies the address of a read or write operation in memory. Memory Buffer Register(MBR) : It is connected to the data lines of the system bus. : It is connected to the system bus Data Lines. It holds the memory value to be stored, or the last value read from the memory. Program Counter(PC) : Holds the address of the next instruction to be fetched. Instruction Register(IR) : Holds the last instruction fetched. Instruction fetch Decode instruction Read EA from memory Execute instruction

Execute instruction Cycle The initial three cycles (Fetch, Indirect, and Interrupt) are predictable and quick. Each requires simple , small, and fixed micro-operation sequences. The same micro-operation is repeated every time around in each event. Execute instruction cycle is different from them. Like, there is N different series of micro-operations that can occur for a computer with different N opcodes. Example ADD R , X T1: MAR (IR(address)) T2: MBR Memory T3: R (R) + (MBR) Step 1: The address portion of IR is loaded into the MAR. Step 2: The address field of the IR is updated from the MBR, so the reference memory location is read. Step 3: Now, the contents of R and MBR are added by the ALU.

References:

1. John P Hayes “Computer Architecture and organization” McGraw Hill

2. Dezso Sima,Terence Fountain and Peter Kacsuk “ Advanced Computer

Architecture” Pearson Education

3. Kai Hwang “ Advanced Computer Architecture” TMH

4. Linda Null, Julia Lobur- The Essentials of Computer Organization and

Architecture, 2014, 4th Edition.