answersLogoWhite

0


Best Answer

Generally speaking, it doesn't relate at all. If it did, it wouldn't be high-level, it would be machine-dependent. The relationship between the high-level code and the machine-code is ultimately determined by the language translator (compiler and/or interpreter) but, unlike assembly language which maps 1:1 with the microprocessor instruction set, compilers and interpreters are code generators and there is seldom a 1:1 relationship between the high-level source code and the machine code.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

The CPU only understands zeroes and ones aka binary. When you compile programmingcode like C++ the compiler compiles it into 0s and 1s.

This answer is:
User Avatar

User Avatar

Wiki User

8y ago

Machine code is the native language of the machine and is the only language the machine actually understands. All other languages must be converted to machine code.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

No. It's machine code and microcode.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How does a high level language relate to the microprocessor's instruction set?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

One instruction in high level language corresponds to one instruction in machine language?

No. Generally, one instruction in a high level language corresponds to many instructions in machine language.


What is accembly language?

Assembly language is a low level language where each statement (mostly) corresponds with one machine instruction. Higher level languages, such as C and FORTRAN, generate multiple machine instructions for each statement.


Why machine and assembly language are called LLL?

Because LLL stands for Low Level Language. Low level because on is writing code very close to the instruction set of the computer chip.


Why compiler is not applicable in low level language?

In layman's terms, compiler is an application to convert the code into instructions computer can understand. In a low level language, the code is already written using low level instruction which a computer can understand. Hence there is no need for a compiler.


Which program translates an assembly language program into a high-level language?

A High level language is a language like C, Pascal, Fortran. To convert, the easiest way is to use a compiler. A compiler will take the instructions written in a high level language and convert them into machine code which is the specific instruction set for that type of computer. Assembly language is just a human readable form of a machine code which is how the designers of the computer instruction set made it work. A disassembler will show the assembly language from machine code. But the compiler usually includes a lot of optimisations from a the high level language and will not often generate very simple assembly.

Related questions

One instruction in high level language corresponds to one instruction in machine language?

No. Generally, one instruction in a high level language corresponds to many instructions in machine language.


What is an instruction in assembly language?

An instruction is the lowest level of commands which can be issued to a processor.


What is the Language programmer writes one mnemonic instruction for each machine level instruction?

It is an assembler language programmer


What is meant by low level language?

A low level language is one where there are only a few (or even only one) instruction(s) per line of code. Assembler is an example of a low level language.


Is used to translate high level language programme into machine code instruction?

Interpreter


What is a machine language?

Actual Machine level language is binary language, which contains only '0' & '1 ' and it's the extreme besic of a computer's instruction. Then comes low level language, like assembly language and so on.


What is accembly language?

Assembly language is a low level language where each statement (mostly) corresponds with one machine instruction. Higher level languages, such as C and FORTRAN, generate multiple machine instructions for each statement.


Why machine and assembly language are called LLL?

Because LLL stands for Low Level Language. Low level because on is writing code very close to the instruction set of the computer chip.


How the program statement and code are related?

A statement in your program is part of the code. In a low-level programming language, a statement will map directly to a single CPU instruction. In a high-level programming language, a statement is the smallest element of the language's syntax.


What is the difference between high level and low level math at colonel by?

Well its like this, a high level language is a language for programming computers which does not require detailed knowledge of a specific computer, as a low-level language does.High-level languages do not have to be written for a particular computer, but must be compiled for the computer they will work with.High-level languages are closer to human language than low-level languages, and include statements like GOTO or FOR which are regular words On the other hand, a low level language is a computer programming language that is close to machine language.Machine language is at the lowest level, because it is the actual binary code of 1s and 0s that the computer understands.Assembly languages are low- level languages which are translated into machine code by an assembler.Each assembly language instruction corresponds to one machine language instruction, but assembly language is easier notation for the programmer to use than machine code. You can google the topic for more info


Why compiler is not applicable in low level language?

In layman's terms, compiler is an application to convert the code into instructions computer can understand. In a low level language, the code is already written using low level instruction which a computer can understand. Hence there is no need for a compiler.


Which program translates an assembly language program into a high-level language?

A High level language is a language like C, Pascal, Fortran. To convert, the easiest way is to use a compiler. A compiler will take the instructions written in a high level language and convert them into machine code which is the specific instruction set for that type of computer. Assembly language is just a human readable form of a machine code which is how the designers of the computer instruction set made it work. A disassembler will show the assembly language from machine code. But the compiler usually includes a lot of optimisations from a the high level language and will not often generate very simple assembly.