# fixup stack by doing rets from compat and the function
# which called it but modifying frame pc's to stay here
moval l0,16(fp) # fix first return address
l0: moval l1,16(fp) # fix first return address
l1: moval l2,16(fp) # fix next return address
# copy back saved register values
# go to compatability mode with rei assuming correct psl is setup
# copy registers into known locations for examination or modification