Customer Service Chat
Get quote & make Payment
what is the definition of instructiion set?, Basic Computer Science
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.
Posted Date: 5/3/2012 7:45:49 AM | Location : United States
Ask an Expert
what is the definition of instructiion set?, Assignment Help, Ask Question on what is the definition of instructiion set?, Get Answer, Expert's Help, what is the definition of instructiion set? Discussions
Write discussion on what is the definition of instructiion set?
Your posts are moderated
Write your message here..
Algorithim, product of two numbers
product of two numbers
Cryptography, Assume |s1|=|s2|=n and consider the functions defined, for an...
Assume |s1|=|s2|=n and consider the functions defined, for any s1 and s2, as: (a) G1(s1,s2)=s1 xor s2, (b) G2(s1,s2)=(s1, s2, s1 xor s2). We have that: A. G1 and G2 are pseudo-ra
Variables and constants, Variables and Constants: These are the smalle...
Variables and Constants: These are the smallest components of a programming language. For writing a program, one must know how to use the internal memory of a computer. A Com
Basic concepts in internet, INTERNET Internet: The global network of ...
INTERNET Internet: The global network of computers linked by exclusive and regular phone lines and microwave and satellite signals. Extranet: An extranet is the part of
Traditional business cycle, what is traditional business cycle
what is traditional business cycle
Indexing and abstracting databases, Indexing and Abstracting Databases: ...
Indexing and Abstracting Databases: A study of growth of indexing and abstracting services over the years would show that during the past two centuries, these services have be
CAI, what is CAI? explain its pitfalls.
what is CAI? explain its pitfalls.
Database, #after writing the script of rebuilting indexed on db server it g...
#after writing the script of rebuilting indexed on db server it gave output command executed succesfully does this mean i m done
Hypertext markup language (html), HTML is a Formatting language which is mo...
HTML is a Formatting language which is most commonly used for web documents.
Intelligent system, why Greedy search is not Optimal
why Greedy search is not Optimal
Accounting Assignment Help
Economics Assignment Help
Finance Assignment Help
Statistics Assignment Help
Physics Assignment Help
Chemistry Assignment Help
Math Assignment Help
Biology Assignment Help
English Assignment Help
Management Assignment Help
Engineering Assignment Help
Programming Assignment Help
Computer Science Assignment Help
IT Courses and Help
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Follow Us |
T & C
Copyright by ExpertsMind IT Educational Pvt. Ltd.