How are the instructions executed and interpreted, Computer Engineering

Assignment Help:

Q. How are the instructions executed and interpreted?

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.


Related Discussions:- How are the instructions executed and interpreted

Which approaches not require knowledge of the system state, Which approache...

Which approaches do not require knowledge of the system state? Ans. Deadlock detection, deadlock prevention and deadlock avoidance; none of the given require knowledge of the s

Specify the default alignment, Specify the default alignment for the follow...

Specify the default alignment for the following field types: 'D' - Left, 'F'-Right, 'N'-Left, 'I'-Right, 'T'-Left.

Concept of multithreading, Concept of Multithreading: These troubles incre...

Concept of Multithreading: These troubles increase in the design of large-scale multiprocessors such as MPP as discussed above. Thus, a solution for optimizing this latency should

What is smtp, SMTP is a Protocol used for transferring message among en...

SMTP is a Protocol used for transferring message among end user & Mail Server.

Object oriented systems analysis and design, Analysis and design form the b...

Analysis and design form the basis on any significant software artifact. Analysis is critical in terms of making sure that the final artifact actually meets user requirements (ie b

What specifies by environment variable in cgi script, The Environment varia...

The Environment variable SCRIPT_NAME in CGI script specifies? In CGI script gives the path of URL after server name.

Explain about the various features present in ms access, Microsoft access h...

Microsoft access has vast advantages for a programmer and end user. Some of the advantages are ? Relative compatibility with SQL and VBA. ? Microsoft SQL server desktop engi

Priority interrupt and synchronous bus, What is a Priority Interrupt? A...

What is a Priority Interrupt? Ans: A priority interrupt is a type of interrupt that establishes a priority over the many sources to determine which condition is to be serviced

Learning weights in perceptrons, Learning Weights in Perceptrons In det...

Learning Weights in Perceptrons In detail we will look at the learning method for weights in multi-layer networks next chapter. The following description of learning in percept

Define step by step procedure in computer programming, Define Step by Step ...

Define Step by Step Procedure in Computer Programming? The Computer programming is the skill and art of creating a computer program a defined set of instructions in source code

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