answersLogoWhite

0


Best Answer

Languages are either "Compiled languages" or "interpreted languages":

- A compiled language will use a compiler which is another program that checks your code and then converts it to the correct machine code for the machine it is intended to run on. You can only run the program after you have compiled it. A compiler can help spot syntax errors and certain semantic errors and will give you a "compilation error".

- An Interpreted language can be ran directly as long as you have another program called the interpreter which translates your code into machine code whilst it is running. This means certain errors will not be caught before runtime (There is no concept of a compilation error) and so you won't know until runtime if certain errors are present in your code

User Avatar

Wiki User

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

Wiki User

13y ago

Compilers or interpreters are used to translate high level source code into CPU instructions.

This answer is:
User Avatar

User Avatar

Wiki User

6y ago

That can either be an assembler, or a compiler.

This answer is:
User Avatar

User Avatar

Wiki User

7y ago

An interpreter.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

Compiler

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is used to translate source code instructions into appropriate machine language instructions?
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.


Which program translate assembly language into machine language?

Assembly langue is translated into machine language by an assembler.


What application will be used to convert an assembly language source program into machine language?

An Assembler converts assembly language instructions into machine language.


Is the C language machine dependent or not?

Machine-dependent (generally called "platform-dependent")

Related questions

A computer program that translate one program instructions at a time into machine language is called?

That sounds like the description of an interpreter.


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.


How do you translate assembly-language into machine language?

assembler


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.


What does machine language code look like?

Machine language is the computer instructions in memory--the actual bits used by the machine hardware or microcode interpreter. To "look" at it, it has to be converted to a human-readable form. Often, it is printed as a sequence of hexadecimal numbers, usually tagged with the memory address. Sometimes it is processed by a disassembler program, which tries to translate the code into assembly language instructions and data. This is not always successful since in machine architectures that mix data and instructions, it can be difficult to determine which program areas are data and which are instructions.


Which program translate assembly language into machine language?

Assembly langue is translated into machine language by an assembler.


What application will be used to convert an assembly language source program into machine language?

An Assembler converts assembly language instructions into machine language.


What does an interpreter do?

Interpreater translate the high level language into machine level language line by line


Is the C language machine dependent or not?

Machine-dependent (generally called "platform-dependent")


How do you translate pascal language to assembly language?

Why would you want to do that? The usual procedure is to translate a high-level language such as Pascal to machine language. If you really want assembly language - perhaps to see how the Pascal compiler does its work - then presumably you can use a disassembler to convert the machine language (the executable file) into assembly language.


What is the readable language to computer?

Computers use machine language, which are coded instructions in binary.


Why does micro processor work in assembly language?

Microprocessors work in microcode, not assembly language. Microcode processes machine instructions, which are often assembled from assembler languages; higher level languages often convert each line of code into multiple lines of assembler language before their ultimate compilation into an executable. The assembler language contains mnomonics that are used to translate each line of source code into a machine instruction. When those machine instructions are loaded in memory, the CPU will use microcode to interpret and execute those instructions. Barring some experimental CPUs that use non-traditional machine code (such as Sun's Java CPU), all production-class CPUs use machine instructions as their basis for software execution.