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

Explain rby and cmyk colour printing, Q. Explain RBY and CMYK colour Printi...

Q. Explain RBY and CMYK colour Printing? For good printing printers don't use RBY in place of that they use CMYK (Cyan instead of Blue, Magenta instead of Red, Yellow and a sep

How many chips will be required in a microprocessor , A microprocessor uses...

A microprocessor uses RAM chips of 1024 × 1 capacity. (i) How many chips will be required and how many address lines will be connected to provide capacity of 1024 bytes. (ii) How

Properties for of static ram, a) Give eight properties for each of static R...

a) Give eight properties for each of static RAM (SRAM) and DRAM (dynamic RAM) and provide the low-level structure of each type of memory. b) Assume a system with 16 Megabytes o

Minterms, A minterm is an AND expression involving all input variables in e...

A minterm is an AND expression involving all input variables in either inverted or non-inverted form.For one particular row the associated mintermis the only minterm which equals l

When should the method invokelater() be used, This method is used to make s...

This method is used to make sure that Swing components are updated by the event-dispatching thread.

Recursive procedures are implemented, Recursive procedures are implemented ...

Recursive procedures are implemented by using Recursive procedures are executed by using stacks due to stacks are LIFO data structure and we require this feature to store retur

Sequential execution of instructions in risc, Q. Sequential Execution of In...

Q. Sequential Execution of Instructions in RISC? Let's describe pipelining in RISC with an illustration program execution sample. Take the given program (R denotes register).

Decision tree learning, Decision Tree Learning: Furthermore there is s...

Decision Tree Learning: Furthermore there is specified in the last lecture such as the representation scheme we choose to represent our learned solutions and the way that we l

What are the properties exposed by activex controls, An ActiveX control has...

An ActiveX control has four types of properties: 1. Stock:-> These are standard properties supplied to each control, such as font / color. The developer must activate stock pro

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