Machine-translated by Google. Questions are authored in English.
Top

Discussion

Three address code is usually generated during

  • A.the scanning phase
  • B.the code generation phase
  • C.the linking phase when object modules are combined
  • D.a syntax directed translation over the parse tree or during the parse

Answer: D

Semantic rules attached to the productions emit the instructions. Whether an explicit tree is built first depends on how many passes the compiler makes. A one pass compiler emits instructions as the productions are reduced.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.