Xref: utzoo comp.arch:2981 comp.lang.forth:281 Path: utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!uw-beaver!tektronix!tekcrl!tekgvs!toma From: toma@tekgvs.TEK.COM (Tom Almy) Newsgroups: comp.arch,comp.lang.forth Subject: Re: Stack Computer References Keywords: stack Message-ID: <2977@tekgvs.TEK.COM> Date: 18 Dec 87 15:20:58 GMT References: <503@PT.CS.CMU.EDU> <595@wolf.UUCP> Reply-To: toma@tekgvs.UUCP (Tom Almy) Organization: Tektronix, Inc., Beaverton, OR. Lines: 14 I thought I'd mention the 8087 family. Even though it is just a coprocessor, it does stack operations (register-register operations with difficulty). For instance, when the 8087 stack is used as the stack for floating point operations, F@ F! F+ F- F* F/ FABS FDROP FDUP FSWAP and FOVER can all be done a single instruction (plus interpreter overhead, if any, no overhead if the Forth code is compiled). FROT FIX and FLOAT take two or three instructions. Most operation have non-destructive modes as well, so that operations such as FDUP F! can be performed as a single instruction as well. Tom Almy toma@tekgvs.TEK.COM !tektronix!tekgvs!toma