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

Discussion

Three address code is so named because

  • A.it can be translated to exactly three different target machines
  • B.it stores its operands in three separate memory segments
  • C.each instruction has at most three operand addresses in it
  • D.it is generated by exactly three phases of the compiler

Answer: C

A typical instruction has the form x = y op z, naming a result and two operands. The restriction to at most three addresses per instruction keeps the representation simple and close to what most machines can execute directly.

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

Post your comment

Please log in or register to post a comment.