Group: comp.lang.forth · Group Profile · Search for cpop in comp.lang.forth
Author: Jonah Thomas
Date: Apr 27, 2007 21:05
...source code calling other source packages that have default bases 14 deep, you have seriously overcommitted to not re-inventing the wheel. So you could have a stack with 16 bytes on it plus a pointer. CPUSH and CPOP to BASE . You still have to save the old value but it doesn't interfere with anything else, it could be a single instruction to push it and a single one to pop it. I once wrote a...
|