[OpenBIOS] [PATCH 1/3] bootstrap.fs: add pseudo r-stack implementation for interpret mode

Segher Boessenkool segher at kernel.crashing.org
Sun Jul 17 18:44:06 CEST 2016


On Sun, Jul 17, 2016 at 11:20:15AM -0500, Segher Boessenkool wrote:
> > +: >r state @ if ['] >r , exit then r> swap prstack-push >r ; immediate
> > +: r> state @ if ['] r> , exit then r> prstack-pop swap >r ; immediate
> > +: r@ state @ if ['] r@ , exit then r> prstack-pop dup prstack-push swap >r ; immediate

Btw, why do you need those  r> ... smth ... >r  gymnastics?


Segher



More information about the OpenBIOS mailing list