[Oberon] Question on ORG.SaveRegs / ORG.RestoreRegs in the FPGA Oberon compiler

Paul Reed paulreed at paddedcell.com
Tue Dec 18 21:21:11 CET 2018

Hi Andreas,

> However, procedure ORG.PrepCall (which calls ORG.SaveRegs):
> ...is called not only for *function* procedures,
> ...but ALSO for *regular* procedures, i.e. in ORP.StatSequence...

But in this case, surely RH is 0 so no registers are saved?  Maybe the
apparent asymmetry comes from having to handle procedure variables too.


More information about the Oberon mailing list