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

Discussion

A table driven code generator describes the target machine in

  • A.hand written code inside the compiler itself
  • B.the source program that is being compiled at the time
  • C.the symbol table alongside the declared names
  • D.a specification from which the generator is produced

Answer: D

Machine description languages let a new target be supported by writing a specification rather than code. The approach trades some code quality for much faster retargeting. A hand written back end still wins where the last few per cent matter.

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

Post your comment

Please log in or register to post a comment.