answersLogoWhite

0


Best Answer

A CPU will have an "instruction set" which consists of primitive instructions i.e a command like MOVE:1002,1003 could be an example of an instruction to move the contents in memory location 1002 to the memory location of 1003. Some CPU's operate as a RISC (Reduced Instruction Set Computer) and others operate as a CISC(Complex Instruction Set Computer). Which basically means some have more "primitive instructions" than others but the more complex an instruction is - The more work will be needed to execute it. Alan Turing proved only 6 of these primitive commands are needed to compute anything that is "computable" by machines. Nowadays, programmers will write code in an "high level" language which contains more of these "primitive commands" but then the code will be compiled into a set of instructions that the CPU can actually execute (i.e to the instruction set of the targeted CPU). If we were to try to write any sufficiently complex program using only the instruction sets of CPU's, it would become very complicated for humans to understand and would take a ridiculously long time.

User Avatar

Wiki User

6y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What A CPU really only understands instructions that are written in machine language.?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is compiler and assembler?

Both, compiler and assembler, are software tools which translate instructions written in a programming language into executable machine code. (Both will typically require additional tools, such as a linker, in the process.) An assembler recognizes a machine-specific assembly language. This is a low-level language with a one-to-one relationship between language (assembly) instructions and machine code instructions. A compiler recognizes a generally machine-independent language such as the C programming language. These are higher level languages compared to the assembly languages, generally offering a one-to-many relationship between language instructions and expressions, and the resulting machine code instructions.


What is the process of writing specific instructions in computer language called?

A machine code program. Machine code is the native language of the machine and the only language actually understood by the machine. However, program instructions can be written using a high-level programming language that the computer can translate into machine code using another machine code program called a compiler.


How do you write machine code symbolic instruction?

Machine code symbolic instructions are typically written in the machines assembly language. It must be written line by line to direct the system to perform specific tasks.


What language can a computer always understand?

I have only a vague understanding of your question, but I'll take it as "why computers can understand language". :P.- they don't-they only seem to cause it was written in their program.if it meant "what language computers understand",-programming language.-go search up wikipedia on this one.


What is compiled?

Compiled code is plain-text source code that is translated from an English-like, high-level language into either machine code or byte code by a program known as a compiler. Machine code is the native language of the machine, consisting of binary patterns that represent a sequence of machine instructions and their operands. Byte code is the native language of a virtual machine; a machine that only exists within a computer's memory. The virtual machine is simply a program that interprets the byte code in order to produce the actual machine code. Unlike machine code which must be compiled separately for each platform, byte code will run on any platform that has a corresponding virtual machine implementation.

Related questions

What is compiler and assembler?

Both, compiler and assembler, are software tools which translate instructions written in a programming language into executable machine code. (Both will typically require additional tools, such as a linker, in the process.) An assembler recognizes a machine-specific assembly language. This is a low-level language with a one-to-one relationship between language (assembly) instructions and machine code instructions. A compiler recognizes a generally machine-independent language such as the C programming language. These are higher level languages compared to the assembly languages, generally offering a one-to-many relationship between language instructions and expressions, and the resulting machine code instructions.


What is the process of writing specific instructions in computer language called?

A machine code program. Machine code is the native language of the machine and the only language actually understood by the machine. However, program instructions can be written using a high-level programming language that the computer can translate into machine code using another machine code program called a compiler.


How do you write machine code symbolic instruction?

Machine code symbolic instructions are typically written in the machines assembly language. It must be written line by line to direct the system to perform specific tasks.


What are special instructions that control the activities of a computer?

The special instructions that control the activities of a computer are called programs. A program is a series of instructions written in a way the computer understands.


The Language of Computers Programs are written in?

machine language


What language can a computer always understand?

I have only a vague understanding of your question, but I'll take it as "why computers can understand language". :P.- they don't-they only seem to cause it was written in their program.if it meant "what language computers understand",-programming language.-go search up wikipedia on this one.


What is translator in computing?

Translator is defined as a computer program that converts instructions written in one language to another without changing the initial logic in terms of computer language.


What are programs that give instructions to a computer called?

Programs run by a computer are called software


What makes the operating system to perform what it does?

Basically, any operating system is simply instructions written in code the computer understands.


What is compiled?

Compiled code is plain-text source code that is translated from an English-like, high-level language into either machine code or byte code by a program known as a compiler. Machine code is the native language of the machine, consisting of binary patterns that represent a sequence of machine instructions and their operands. Byte code is the native language of a virtual machine; a machine that only exists within a computer's memory. The virtual machine is simply a program that interprets the byte code in order to produce the actual machine code. Unlike machine code which must be compiled separately for each platform, byte code will run on any platform that has a corresponding virtual machine implementation.


Why do need translate a program written a high level language into machine language?

the reason why we translate is that source code may be in assembly( low level language) or high level language and the only language computer understand is 0s and 1s which is binary code so the program written in either assembly or high level language must be convert or translate to binary and program written in HLL are in English form while the assembly are equivalent machine language.


Does machine code means assembly language?

No. Assembly language is a low-level symbolic language that needs to be translated (assembled) to produce the machine code. The reverse of assembly is disassembly, where machine code is disassembled to produce code that is similar to assembly but has no symbolic names or comments. Disassembly is essentially a human-readable version of machine code whereas assembly is the code written by a human in order to produce the machine code, the only language the machine actually understands.