[openfirmware] [commit] r1834 - forth/lib

Segher Boessenkool segher at kernel.crashing.org
Fri Jun 25 08:32:39 CEST 2010


> +: getq  ( q -- char )
> +   dup >qgetp @                                         ( q getptr )

> +: qempty?  ( q -- flag )  dup >qgetp l@  swap >qputp @ =  ;
> +: qfull?   ( q -- flag )  dup >qputp l@  decqp  swap >qgetp @ =  ;

@ should be l@ everywhere here?


Segher




More information about the openfirmware mailing list