


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A computer instruction is a group of bits that instructs the computer to perform a particular task. ® Each instruction cycle is subdivided into.
Typology: Schemes and Mind Maps
1 / 4
This page cannot be seen from the preview
Don't miss anything!



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.