simple code generator in compiler design
#2
simple code generator in compiler design

Code generation can be considered as the final phase of compilation. Through post code generation, optimization process can be applied on the code, but that can be seen as a part of code generation phase itself. The code generated by the compiler is an object code of some lower-level programming language, for example, assembly language. We have seen that the source code written in a higher-level language is transformed into a lower-level language that results in a lower-level object code, which should have the following minimum properties:

It should carry the exact meaning of the source code.
It should be efficient in terms of CPU usage and memory management.
We will now see how the intermediate code is transformed into target object code (assembly code, in this case).

Directed Acyclic Graph
Directed Acyclic Graph (DAG) is a tool that depicts the structure of basic blocks, helps to see the flow of values flowing among the basic blocks, and offers optimization too. DAG provides easy transformation on basic blocks. DAG can be understood here:

Leaf nodes represent identifiers, names or constants.

Interior nodes represent operators.

Interior nodes also represent the results of expressions or the identifiers/name where the values are to be stored or assigned.
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Tagged Pages: a simple code generator in compiler design, code generator compiler design easy language,
Popular Searches: code optimization in compiler, code generation compiler design, generic code generation algorithm in compiler design, code generation algorithm compiler, generic code generation algorithm in compiler designhm, presentation zen design simple design, simple code generator in compiler design,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Messages In This Thread
simple code generator in compiler design - by Guest - 17-02-2016, 09:58 AM
RE: simple code generator in compiler design - by seminar report asees - 18-02-2016, 02:28 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  flying windmills or flying electric generator feg technology ppt 4 3,171 02-10-2018, 01:13 AM
Last Post: [email protected]
  design and fabrication of welding slag cleaning machine 4 9,134 17-03-2018, 02:58 PM
Last Post: Guest
  renewable energy design application in water cooler ppt 1 9,107 16-03-2018, 06:04 PM
Last Post: Guest
  ppt on design and implementation of intelligent campus security tracking system based on rfid and zigbee 7 16,066 09-02-2018, 02:20 PM
Last Post: udaya
  to design an appropriate logic gate combinatin for a given truth table 1 5,536 13-10-2017, 10:26 AM
Last Post: Akash Mendhe
Wink student online counselling simple projects in core java with source code 3 6,833 10-06-2017, 10:21 AM
Last Post: jaseela123d
  design of raft foundation as per indian code spreadsheet 6 4,829 23-05-2017, 07:00 PM
Last Post: Marwin
  saddle support design calculation 2 1,433 28-04-2017, 12:58 PM
Last Post: jaseela123d
  sat fee waiver code generator 1 884 13-04-2017, 01:55 PM
Last Post: jaseela123d
  pneumatic vice design calculation pdf 1 1,177 13-04-2017, 11:47 AM
Last Post: jaseela123d

Forum Jump: