Fish Touching🐟🎣

register

Apr 20, 2023

# Special Register

When procedure P calls procedure Q , Q must preserve the values of these registers, ensuring that they have the same values when Q returns to P as they did when Q was called. (P call Q, Q preserve)

Procedure Q can preserve a register value by either not changing it at all or by pushing the original value on the stack, altering it, and then popping the old value from the stack before returning.