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

Discussion

For a value that has been stored to memory and also remains in a register, the address descriptor holds

  • A.the memory addresses of the instructions generated so far
  • B.the addressing modes the target machine supports
  • C.the offsets of each field within a record type
  • D.both locations, so either may be used without a reload

Answer: D

A value may live in a register, in memory, or in both at once. Knowing this lets the generator decide whether a store is needed before a register is reused. Keeping the two descriptors accurate is what makes the simple algorithm correct.

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

Post your comment

Please log in or register to post a comment.