انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة

تنفيذ ايعازات التفرع

الكلية كلية العلوم للبنات     القسم قسم الحاسبات     المرحلة 3
أستاذ المادة نور كاظم ايوب مهدي المهدي       27/01/2017 09:49:33
CPU Instruction Cycle

The basic actions during fetching an instruction, executing an instruction, or handling an interrupt are defined by a sequence of micro-operations. A group of control signals must be enabled in a prescribed sequence to trigger the execution of a micro-operation. We can classify the instruction based on the nature of PC increment :

In this section, we show the micro-operations that implement instruction fetch, execution of simple arithmetic instructions (Sequential and Branch).

6.1 Fetch Instructions

The sequence of events in fetching an instruction can be summarized as follows:

The contents of the PC are loaded into the MAR to be the current address. The value in the PC is incremented. (This operation can be done in parallel with a memory access.) As a result of a memory read operation, the instruction is loaded into the MDR. The contents of the MDR are loaded into the IR.The micro-operations that implement instruction fetch take the following sequence :






















Figure1: ALU architecture

The execution of any operation subjects to the control of ALU. This unit have three inputs and one output,as seen in figure1.

6.2 Execution cycle

While the steps of fetch instruction are the same for all instructions, the execution steps are different from one instruction to another. This depends on the nature of the executed instruction.


Solution:

1- Pc out ,ARin,Read,Set carry of ALU, Clear y,Add, Zin.

2-Zout, Pcin, WMFC.
3- DRout,IRin .

المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .