From: Yann on
Maybe it is possible the other way round ?

You could imagine a "master" sequencer using SysRPL,
which would sometimes call some ROM functions (purge for example),
and sometimes some "C" ARM ones (your own code).

This is the HP4x equivalent for a script.
Now this proposal also depends on intended speed, but if you need
speed,
you shouldn"t have to move variables around, as this operation is
terribly costly,
due to near-complete resizing of the variable area
(like a memory-defrag at each purge/store command).