Path: csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.forth Subject: Re: Looking for some help with this gforth program. Thanks! Date: Tue, 17 May 2016 16:11:09 -0700 Organization: A noiseless patient Spider Lines: 17 Message-ID: <87futgmgaa.fsf@jester.gateway.pace.com> References: <6548d185-2c31-40a4-bfa9-a3c353e9fa5d@googlegroups.com> <1f0a9579-b955-4de5-85be-3b26aa0f9723@googlegroups.com> <87wpmy4tno.fsf@jester.gateway.pace.com> <2016May15.123405@mips.complang.tuwien.ac.at> <5fc58bbc-d742-4b25-aa89-6bfdcfc3d619@googlegroups.com> <87shxioj4i.fsf@jester.gateway.pace.com> <04mdnUDSJPzhdKTKnZ2dnUU7-evNnZ2d@supernews.com> <87h9dynd2d.fsf@jester.gateway.pace.com> <1OCdnSAZD_9kjafKnZ2dnUU7-RPNnZ2d@supernews.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="589dd00be5ee573d7046ed589be3c50c"; logging-data="25990"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/SxOkls2JYofnx3SFoll3z" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Importance: high Cancel-Lock: sha1:KkRStrWB1Vdk52xWj2P9Pgo7M+k= sha1:bYjTHvnkKns+Hc3iuPt4TVjXDMM= Xref: csiph.com comp.lang.forth:47267 Andrew Haley writes: >> I think the first real intentional C machine was Dave Ditzel's >> CRISP. > Before SPARC? Hmm, checking Wikipedia it seems they were contemporaneous. For some reason I thought CRISP was earlier. > One key difference was that you could take the address of a register, > which made returning more than one value from a call a hack of a lot > easier. The other thing was that you could effectively get a new set > of registers just by pushing the stack. So calling was super-clean. Was there a conventional register file on the die, and if yes, did they have to do a bunch of contortions to shuffle registers to memory etc.? I'm assuming this worked with the very deep stacks typical of C programs.