what is the definition of instructiion set?, Basic Computer Science

Assignment Help:
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.

Related Discussions:- what is the definition of instructiion set?

File sharing architecture, File Sharing Architecture:   The developmen...

File Sharing Architecture:   The development of microprocessor, PC and LAN transformed dumb terminals into -smart? clients. This brought a complete change in the computing env

Hypertext transfer protocol (http), It's a common protocol or "language" co...

It's a common protocol or "language" computers use to "speak" to each other over the Web.

Assembly language, Assembly language : Assembly language is a low level...

Assembly language : Assembly language is a low level programming language similar to machine language, but far easier to write and understand because machine language binary in

C++ programming, write a program of 2 sum and 2 product number in C++ progr...

write a program of 2 sum and 2 product number in C++ programming language

Java program, To find the minimum number of shelves in the loading process ...

To find the minimum number of shelves in the loading process in cars

Convert string to super ascii, A string S is said to be "Super ASCII", if i...

A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''''''''a''''''''-'''''''

Write a brief note on firewalls, Question 1 Explain the TCP/IP protocol la...

Question 1 Explain the TCP/IP protocol layers Question 2 Write a note Fiber Distributed Data Interface (FDDI) Question 3 Discuss on File Transfer Protocol (FTP)

Explain web cache, To satisfy client needs through proxy server and not thr...

To satisfy client needs through proxy server and not through main server, as some other user have already accessed that file and its copied to the proxy server, so next time a user

Artificial intelligence-environments, Artificial Intelligence-Environments ...

Artificial Intelligence-Environments   We have seen that intelligent agents should take into description sure information when   choosing  a rational act,  including inform

Discuss the advantages and disadvantages of printed indexes, QUESTION 1 ...

QUESTION 1 Discuss the advantages and disadvantages of printed indexes. QUESTION 2 (i) The Library of Congress Subject Headings List and the Sears Subject Headings List

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