Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

For a processor to be able to process an instruction, it requires to be able to determine what the instruction is asking to be carried out. For this to take place, the CPU requires to know what actions it may be asked to perform, and have pre-determined methods accessible to carry out these actions. It is this idea which is the reasoning behind the ''instruction set''.
When a processor is executing a program, at that time the program is in a machine language. Programmers mainly never write their programs in this form. While it may not have been at first written in this way, it is converted to a machine language at some point previous to execution so that it is comprehensible by the CPU. Machine language can be unswervingly interpreted by the hardware itself, and is able to be without difficulty encoded as a string of binary bits and sent simply via electrical signals.
The instruction set is a set of pre-defined machine codes, which the CPU is designed to expect and be able to operate upon when detected. Dissimilar processors have dissimilar instruction sets, to allow for easier coding, greater aspects and to cope with changes in the genuine architecture of the processor itself. Each machine code of an instruction set consists of two separate fields:
• Opcode and operands
The opcode is a short code which points to what operation is expected to be performed. Each and every operation has a unique opcode. The operand, or operands, points to where the data required for the operation can be found and how it can be accessed (the addressing mode, which is conversed in full later). The length of a machine code can vary - ordinary lengths vary from one to twelve bytes in size.
The exact format of the machine codes is again CPU dependant.
Opcodes are also known mnemonics (short names) so that they can be simply referred to in code listings and similar documentation. for instance, an instruction to store the data of the accumulator in a given memory address could be specified the binary opcode 000001, which may then be referred to using the mnemonic STA (short for Store Accumulator).
Now we identify what form the data is in when it is read by the CPU, it is essential to learn about the cycle by which the instructions of a program are executed.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9502444

Have any Question?


Related Questions in Computer Engineering

Suppose that you have a database of three-dimensional

Suppose that you have a database of three-dimensional galaxy coordinates x; y; z that covered a large volume of, say, 3 Gpc 3 Gpc 3 Gpc. Using your skill and judgement, suggest how you might use the data to test whether ...

Answer the following question what is a remote procedure

Answer the following Question : What is a 'Remote Procedure Call (RPC)'? How a RPC is originated and what are the applications/examples of a RPC process? The response must be typed, single spaced, must be in times new ro ...

Task create an array that holds a 20 random integers

Task : Create an Array that holds a 20 random integers between 1-50. Create an iterator that will return the memory address and value for each integer present in the Array.

A major airline company is concerned that its proportion of

A major airline company is concerned that it's proportion of late arrivals has substantially increased in the past month. Historical data shows that on the average 18% of the company airplanes have arrived late. And a ra ...

Two manufacturing firms are located on the banks of the

Two manufacturing firms are located on the banks of the Crimea River. Riditna Paper withdraws river water for use in its paper mill, and returns it, along with waste effluent, back into the river. (Effluent is a co-produ ...

In c languageread a integer number which has 2 digits after

In C language: Read a integer number which has 2 digits after the decimal point. The number also has at least 6 digits the decimal point. Extract all digits at even positions from before the decimal point. Print them in ...

Briefly explain the meaning of the t-test for regression

Briefly explain the meaning of the t-test for regression analysis. How can the "rule of two" be used to evaluate t-ratios?

This is sports data analysis class please help me out with

This is sports data analysis class. please help me out with this assignment. Background Bill James created a career projection system he called his "favorite toy," presumably because he liked projecting the career totals ...

Suppose we want to build a b tree that has space for 200000

Suppose we want to build a B+ tree that has space for 200,000 data entries in its leaf pages. Each data entry is made up of a key and its corresponding data value. Let us assume the following specifications. Each page (l ...

Program in cit is often times advantageous to be able to

*Program in C* It is often times advantageous to be able to transfer data between two arrays. Need a help with program (transfer.c) that add a range (by start index and end index) of numbers from array #1 to array #2 at ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As