Posts

Instruction Cycle

1 min read

 

Instruction Cycle

A program residing in the memory unit of a computer consists of a sequence of instructions. These instructions are executed by the processor by going through a cycle for each instruction.

In a basic computer, each instruction cycle consists of the following phases:

  1. Fetch instruction from memory.
  2. Decode the instruction.
  3. Read the effective address from memory.
  4. Execute the instruction.

Instruction Cycle

Input-Output Configuration

In computer architecture, input-output devices act as an interface between the machine and the user.

Instructions and data stored in the memory must come from some input device. The results are displayed to the user through some output device.

The following block diagram shows the input-output configuration for a basic computer.

Instruction Cycle
  • The input-output terminals send and receive information.
  • The amount of information transferred will always have eight bits of an alphanumeric code.
  • The information generated through the keyboard is shifted into an input register 'INPR'.
  • The information for the printer is stored in the output register 'OUTR'.
  • Registers INPR and OUTR communicate with a communication interface serially and with the AC in parallel.
  • The transmitter interface receives information from the keyboard and transmits it to INPR.
  • The receiver interface receives information from OUTR and sends it to the printer serially.

Design of a Basic Computer

A basic computer consists of the following hardware components.

  1. A memory unit with 4096 words of 16 bits each
  2. Registers: AC (Accumulator), DR (Data register), AR (Address register), IR (Instruction register), PC (Program counter), TR (Temporary register), SC (Sequence Counter), INPR (Input register), and OUTR (Output register).
  3. Flip-Flops: I, S, E, R, IEN, FGI and FGO

Note: FGI and FGO are corresponding input and output flags which are considered as control flip-flops.

  1. Two decoders: a 3 x 8 operation decoder and 4 x 16 timing decoder
  2. A 16-bit common bus
  3. Control Logic Gates
  4. The Logic and Adder circuits connected to the input of AC.

  

You may like these posts

  •   I/O Interface in Computer ArchitectureThe I/O interface supports a method by which data is transferred between internal storage and external I/O devices. All the periph…
  •  Difference between Programmed and Interrupt Initiated I/OData transfer between the CPU and I/O devices can be done in variety of modes. These are three possible modes: &…
  •  Memory mapped I/O and Isolated I/OAs a CPU needs to communicate with the various memory and input-output devices (I/O) as we know data between the processor and these devices…
  •  What is Interrupt I/O ProcessAn interrupt I/O is a process of data transfer in which an external device or a peripheral informs the CPU that it is ready for communication and…
  •  It is one of the simplest forms of I/O where the CPU has to do all the work. This technique is called programmed I/O.Consider a user process that wants to print the Nine-char…
  •  Direct Access Media (DMA) Controller in Computer ArchitectureDirect memory access (DMA) is a method that allows an input/output (I/O) device to send or receive data directly …

Post a Comment

© 2025CSA. The Best Codder All rights reserved. Distributed by