Major task of a computer to carry out instruction execution, Computer Engineering

Assignment Help:

The major task of a computer is to carry out instruction execution. The key questions that can be asked in this respect are: (a) how are the instructions provided to computer? And (b) how are the instructions executed and interpreted?

Let's answer our second question first. All computers have a Unit which performs arithmetic and logical functions. This Unit is called as Arithmetic and Logic Unit (ALU). However how will computer decide what operation is to be carried out by ALU or we can say who will interpret the operation that is to be performed by ALU?

This interpretation is carried out by Control Unit of computer. The control unit recognizes the binary form of instruction as well as interprets instruction to generate control signals. These control signals then direct ALU to carry out a particular arithmetic or logic function on data. Thus by changing control signal desired function can be performed on data. Or on the other hand the operations that require to be performed on the data can be achieved by providing a set of control signals. So for a new operation one just needs to change set of control signals.

The unit which interprets a code (a machine instruction) to produce respective control signals is called as Control Unit (CU). A program comprises a sequence of codes. Every code is, in effect, an instruction for computer. The hardware interprets each one of these instructions and then generates respective control signals such that desired operation is performed on data.

The Control Unit (CU) and Arithmetic Logic Unit (ALU) together are termed as Central Processing Unit (CPU). CPU is the most significant component of a computer's hardware.

All these arithmetic and logical Operations are carried out in CPU in some special storage areas known as registers. Size of the register is one of the significant considerations in signifying processing capabilities of CPU. Register size indicates to the amount of information which can be held in a register at a time for processing. Larger the register size the faster can be the speed of processing.

But how can data and instructions are put into the computers? The data and instructions to a computer are provided by external environment. It determines that input devices are required in computer. The major responsibility of input devices will be to put data in form of signals which can be recognised by system. Correspondingly we require another component that will report results in proper format. This component is known as output device. These components mutually are termed as input/output (I/O) devices.


Related Discussions:- Major task of a computer to carry out instruction execution

Time complexity in the worst case, Speicified the following piece of code: ...

Speicified the following piece of code: int i = 1; int j = 4; while (i     {      if (i%3 == 0) i+=3;      else i+=4;        if (j%2 == 0) j*=4;      els

What is meant by inter process communication, What is meant by inter proces...

What is meant by inter process communication? Inter process Communication: The OS give the means for cooperating processes to communicate with each other through an inter pro

Register organisation, The number and nature of registers is a major factor...

The number and nature of registers is a major factor which distinguishes among computers. For illustration, Intel Pentium has about 32 registers. A number of these registers are sp

Explain vector-memory instructions, Vector-Memory Instructions When vec...

Vector-Memory Instructions When vector operations with memory M are carried out then these are vector-memory instructions. These instructions are referred with the subsequent f

Continuous or discrete - artificial intelligence, Continuous or Discrete - ...

Continuous or Discrete - artificial intelligence: The behaviour of the coming data in from the environment will change how the agent should be programming. In particular, the

Android mobile application, Students are needed to work in group of 3 and m...

Students are needed to work in group of 3 and make an Android mobile application falling under the following categories: Multimedia o    Eg: Camera app, mp3 player, ga

An 8086 interrupt, An 8086 interrupt can take placedue to the following rea...

An 8086 interrupt can take placedue to the following reasons: 1.  Hardware interrupts caused by some external hardware device. 2.  Software interrupts that can be invoked wit

Convert integer into numerical equivalents, Convert the following integers ...

Convert the following integers into their numerical equivalents in the indicated bases. Be sure to use the correct number of significant figures for each case and show how the corr

Flat, nfa significance

nfa significance

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd