answersLogoWhite

0


Best Answer

The intermediate code generation phase transforms parse tree into an intermediate-language representation of the source program.

Intermediate codes are machine independent codes, but they are close to machine instructions.

The given program in a source language is converted to an equivalent program in an intermediate language by the intermediate code generator.

Intermediate language can be many different languages, and the designer of the compiler decides this intermediate language.

  • syntax trees can be used as an intermediate language.
  • postfix notation can be used as an intermediate language.
  • three-address code (Quadraples) can be used as an intermediate language
  1. we will use quadraples to discuss intermediate code generation
  2. quadraples are close to machine instructions, but they are not actual machine instructions.
  • some programming languages have well defined intermediate languages.
  1. java - java virtual machine
  2. prolog - warren abstract machine
  3. In fact, there are byte-code emulators to execute instructions in these intermediate languages.
User Avatar

Wiki User

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

Wiki User

13y ago

code language

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the purpose of intermediate code generation incompiler?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which language is eliminated in intermediate code generation?

Intermediate code generation can occur at multiple points. When generating intermediate code, you are compiling source code into an intermediate language. Intermediate language is often referring to the Microsoft .NET CIL (Common Intermediate Language) but can also be referring to for example Java byte code or even LLVM intermediate language. For "Compiled languages" such as C#, C++, Visual Basic.NET, these languages are compiled to intermediate language during the development phase. Languages which are interpreted such as JavaScript, IronPython, and IronRuby are compiled to intermediate language when they are executed. There are a large number of languages in both models thanks to Microsoft's "Domain Specific Language" services which make creating new .NET friendly language compilers much easier than before. The point however is that any language which makes use of the Microsoft "Common Lanuage Runtime" or CLR will at some point generate IL code from source code. So my answer to this is "All .NET languages" are compiled to IL at some point.


Was is the cpt code for office visit intermediate?

What is intermediate office visit


What is the cpt code for radioelement intracavity of uterus intermediate?

The CPT code 77762 Intracavitary radiation source application; intermediate.


What is the two codes for an established patient for intermediate repair of 2.6cm wound on her right arm?

The code for an established patient is CPT code 99211 and the code for intermediate repair of 2.6 cm wound is 12032.


What is the Cpt code for intermediate repair of 5 inch laceration of the right thigh?

The CPT Code for intermediate repair of a 5-inch laceration of the right thigh is 12032.


What is the cpt code for intermediate repair of 5-inch laceration of the right thigh?

The CPT Code for intermediate repair of a 5-inch laceration of the right thigh is 12032.


What is Microsoft Intermediate Language (MSIL)?

The .NET Framework is shipped with compilers of all .NET programming languages to develop programs. There are separate compilers for the Visual Basic, C#, and Visual C++ programming languages in .NET Framework. Each .NET compiler produces an intermediate code after compiling the source code. The intermediate code is common for all languages and is understandable only to .NET environment. This intermediate code is known as MSIL.


What is the king code and its purpose?

The purpose of king code


What are the phases of compiler design?

Each phase transforms the source program from one representation to another. Six phases: - Lexical Analyser - Syntax Analyser - Semantic Analyser - Intermediate code generation - Code optimization - Code Generation • Symbol table and error handling interact with the six phases. • Some of the phases may be grouped together.


What is the Byte code definition?

Java compiler produces an intermediate code after compilation, understandable by JVM is called Byte Code.


What is the Cpt code for intracavitary of uterus?

The CPT code for intracavitary of the uterus depend on the application. There is simple, intermediate and complex.


What is code generation?

If you're actually asking what code is generated from C++, C# and VBNET, the answer is machine code (C++) and CIL (C# and VBNET). CIL, or Common Intermediate Language, is byte-code that was formerly known as MSIL, or Microsoft Intermediate Language. CIL must be compiled to machine-code at runtime using JIT (Just in Time) compilation. This is quite similar to the way Java compiles to byte-code suitable for the Java Virtual Machine (JVM), however CIL only runs on Windows-based devices. Java runs on any device with a JVM implementation (which is pretty much everything these days).