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

Discussion

Translating a procedure call into three address code produces

  • A.parameter instructions followed by a call naming the procedure
  • B.a single instruction naming the procedure and all its arguments
  • C.a jump to the procedure with no record of the arguments
  • D.code that inlines the whole body of the procedure

Answer: A

Each argument is set up by its own instruction and the call names the procedure and the argument count. This keeps every instruction within the three address limit. A call with many arguments therefore expands into many instructions.

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

Post your comment

Please log in or register to post a comment.