answersLogoWhite

0

What is OPCodes?

Updated: 12/10/2022
User Avatar

Wiki User

11y ago

Best Answer

op code

is high level language

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is OPCodes?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How many opcodes does the x86 ISA have?

117


How do you add and subtract 16 bit numbers using 8051 microprocessor?

The 8051 is a microcontroller, not a microprocessor. To add or subtract, use the ADD or SUBB opcodes.


What are the difference between opcode and operand?

What is difference between oppress code and operend


How do you fix your laptop when it made a sereis of loud beeps and shut down?

a) Reboot the thing b) Take it to a computer fixer (recommended for non-computer programmers) c) Reconfigure the opcodes and/or reinstall Windows (advanced) Did that help?


What arguments can be made against the idea of a single language for all programming domains?

You cannot. The only programming language understood natively by a machine is its own machine code. Every architecture has its own variant of machine code and for good reason. Just as the machine code for a piano player would make little or no sense to a Jacquard loom, the machine code for a mainframe would be impractical for a smart phone. Each machine has a specific purpose and therefore has its own unique set of opcodes to suit that purpose. Although some of those opcodes will be very similar and may have the same value associated with them, they won't necessarily operate in exactly the same way, so the sequence of opcodes is just as important as the opcodes themselves. Thus every machine not only has its own machine code it also has its own low-level assembly language to produce that machine code.We could argue that we only need one high-level language, of course, but then that one language would have to be suitable for all types of programming on all types of machine. This is quite simply impossible, because some languages are better suited to certain domains than others. For instance, Java is an incredibly useful language because it is highly portable, but it is only useful for writing application software. It is of no practical use when it comes to writing operating system kernels or low-level drivers because all Java code is written against a common but ultimately non-existent virtual machine. If it were possible to write an operating system in Java, the extra level of abstraction required to convert the Java byte code to native machine code would result in far from optimal performance; never mind the fact you need to an interpreter to perform the conversion in the first place.C++ is arguably more powerful than Java because it is general purpose and has zero overhead. Other than assembly, there is no other language capable of producing more efficient machine code than C++. However, C++ isn't a practical language for coding artificial intelligence systems; for that we need a language that is capable of rewriting its own source code, learning and adapting itself to new information. C++ is too low-level for that.The mere fact we have so many high-level languages is testament to the fact we cannot have a single language across all programming domains. Languages are evolving all the time, borrowing ideas from each other. If a domain requires multiple paradigms for which no single language can accommodate, we can easily interoperate between the languages that provide the specific paradigms we need, possibly creating an entirely new language in the process. That's precisely how languages have evolved into the languages we see today.

Related questions

What is pseudo-opcodes?

Pseudo opcodes indicates symbolic mnemonic and action to be performed for each pseudo opcodes in Pass-1. From:- Shankar Kadam SND Poly Yeola, Nasik. 7588097295


What is pseudo opcodes?

Pseudo opcodes indicates symbolic mnemonic and action to be performed for each pseudo opcodes in Pass-1. From:- Shankar Kadam SND Poly Yeola, Nasik. 7588097295


How many opcodes does the x86 ISA have?

117


Is there any possible justification for an instruction with two opcodes?

An instruction only has one opcode. There may be two opcode bytes, or there may be different fields in the assembly code of the instruction, but the bit pattern of an instruction will always generate the same results. There are some results that can be generated with two different opcodes. SUB A and XRA A, for instance, both clear the accumulator, but they are two different opcodes for two different instructions.


How do you add and subtract 16 bit numbers using 8051 microprocessor?

The 8051 is a microcontroller, not a microprocessor. To add or subtract, use the ADD or SUBB opcodes.


What set of instructions tell the computer what to do?

A program is a set of instructions that tell a computer what to do. In the computer, those instructions are called opcodes and make up an instruction set.


What are the difference between opcode and operand?

What is difference between oppress code and operend


How the compiler conver the hll statements into machine language?

The assembler's role is most important.it converts the high level language statements into machine level language statements with the help of some operand and opcode specifications.there is first mnemonic opcode specification.here instead of writing binary opcodes,mnemonic opcodes can be specified.advantage of using mnemonic opcodes are:program becomes readable.debugging becomes simple.so it is the responsibility of the assembler to replace each mnemonic opcode by its respective binary opcode.also there is symbolic operand specification.in that,instead of specifying the addresses of instructions and data,symbols can be used.advantage of using the symbolic operand is that the program can be modified with no overhead.it is the responsibility of assembler to replace each symbol by its address.


What is a program or set of instructions called?

a program is called a program. a set of instructions is called a manual.


How do you fix your laptop when it made a sereis of loud beeps and shut down?

a) Reboot the thing b) Take it to a computer fixer (recommended for non-computer programmers) c) Reconfigure the opcodes and/or reinstall Windows (advanced) Did that help?


The Instruction set refers to the commands that a CPU knows how to complete?

Yes, Instruction Set is the list of OPCODES that CPU (Processor) understands & performs on those instructions (i.e. enables devices to communicate, process received instructions & directing towards the right output devices).


What are the basic features of assembly language?

Symbols to represent instructions Each instruction (opcode) is given some mnemonic name Various addressing modes might select different opcodes for same mnemonic Symbols to represent labels and variables The addresses where variables are stored can be named Addresses in the code can be labelled