answersLogoWhite

0


Best Answer

Are you asking about an "interpreter"? That's part of a computer language that reads a line of code and breaks it down into machine code.

The Interpreter works with one source statement at a time, reading it, translating itto machine-level instructions, executing the resulting binary instructions, and then moving on to the next source statement.

Almost no real interpreters generate any machine code, they simply interpret the source code and directly do what it says using machine code built into the interpreter when it was originally written.

Machine code is generated by compilers, to permit repeated execution without having to reload the compiler each time (as one must with an interpreter).

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What works with one source statement at a time translating it to machine level instructions?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Works whit one source statement at a time reading it translating it to machine level instruction?

interpreter


With a given source statement may be converted to any number of machine-level instructions?

With a COMPILER,


A given source statement may be converted to any number of machine-level instructions with what?

Compiler


A given source statement may be converted to any number of machine level instruction?

Yes. A single high-level statement can generate one or more machine code instructions, sometimes in the order of several dozen instructions.


What do you compile?

Compiling is the act of translating human-readable source code to machine-readable byte code.In Java, the compiler program is javac


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 is a source code file in c plus plus?

A source code file is a plain-text file containing C++ instructions. The instructions must be compiled and linked to create a native machine code executable.


When you compile source code the resulting collection of instructions is called code which is placed in a new file?

Is called machine code


What is the Difference between assembler and macro?

I am not sure about the answer but think so, Assembler: Its a program that converts a low level language into machine code, and there is a one-to-one correspondence between the source language statements and machine instructions Macro- Assembler: It performs the same task as does the assembler but there is some times a one-to-many correspondence between the source language statements and machine instructions. Please discuss further...


Is there any programming language that does not use compiler or interpreter?

Not really. You need some program to interpret your source code. There is the "assembler", but that can be thought of as a simpler version of a compiler - simpler, because the assembler basically just converts the source code instructions one-to-one to machine instructions.


Why does an interpreter not convert source code into machine language?

A traditional interpreter interprets the source code instructions at runtime, and executes them directly. Compiling the instructions into machine code is not part of of a traditionally interpreter's design.However, many modern interpreters work differently from traditional interpreters. In the traditional concept, an interpreter would digest the exact source code instructions at runtime, parsing "if" and "else" and so forth.Most modern interpreters compile (!) the source code into code fit for a virtual machine (sometimes called hypercode or p-code). This virtual machine is implemented as an interpreter, which interprets and executes the stream of hypercode instructions at runtime. This is more efficient, since the interpreter doesn't have to handle surplus input (such as comment), and can rely on the input to be pre-validated for syntactic and, to some extend, semantic correctness.Most modern virtual machine interpreters support another compilation step at runtime, typically called just-in-time compilation or JIT for short. With JIT, the virtual machine translates portions of the hypercode into real machine code at runtime, thus improving execution speed for repeatedly executed code.Popular programming languages such as Java or the .NET languages all work on this principle.


What is compilation in c plus plus?

Compilation is the process of translating source files into object files.