18 Dec
2018
18 Dec
'18
10:59 p.m.
It's RestoreRegs(1), in effect, but only in that case. Anyway, I’m labouring it, you've answered your own question! :)
Thx for the hint - it pointed me in the right direction. It’s now all clear. Except that … the code remains a bit of a mystery when one reads it for first time, without comments. One needs to trace the item x across multiple procedures. First, DeRef sets x.mode to RegI, then load sets it to Reg, etc.. Students will have a hard time understanding this.