Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!dsl.pitt.edu!pitt!willett!dwp From: dwp@willett.pgh.pa.us (Doug Philips) Newsgroups: comp.lang.forth Subject: Re: SP0 etc Message-ID: <1632.UUL1.3#5129@willett.pgh.pa.us> Date: 29 Aug 90 03:28:01 GMT References: <12412@sdcc6.ucsd.edu> Organization: String, Scotch tape, and Paperclips. (in Pgh, PA) Lines: 22 In <12412@sdcc6.ucsd.edu>, ir230@sdcc6.ucsd.edu (john wavrik) writes: > -2000 SP0 +! will increase the size of the return stack by 2000 bytes > on systems laid out in the traditional fashion (with the parameter > stack growing downward below the return stack). Since, as others have already pointed out, addressable Parameter and Return stacks aren't possible on Forth Chips, would anyone care to comment on how one *might* write BASIS Forth code to alter those sizes? I would definitely want to hide John's code behind a word, such as 2000 CELLS STACK-ADJUST ( or to be perverse ) -500 CELLS STACK-ADJUST Is stack adjustment really a portability problem in general, or is it *just* the way John wants to do it. -Doug --- Preferred: ( dwp@willett.pgh.pa.us OR ...!{sei,pitt}!willett!dwp ) Daily: ...!{uunet,nfsun}!willett!dwp [last resort: dwp@vega.fac.cs.cmu.edu]