From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ae395e5c11de7bc9 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: segfault with large-ish array with GNAT Date: Fri, 19 Mar 2010 18:02:42 +0000 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Fri, 19 Mar 2010 18:02:42 +0000 (UTC) Injection-Info: news.motzarella.org; posting-host="KCXegvZb5vh43D+f3BR6Ew"; logging-data="10131"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+AaOpqeK4p5EyKuaSQCrHYOmT+s9QwJdU=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin) Cancel-Lock: sha1:hf5US3YvqhU1O8/Tya3NaP7KpuM= sha1:LxASI/Y4CnY2+3ZWFNofas+tCAI= Xref: g2news1.google.com comp.lang.ada:9669 Date: 2010-03-19T18:02:42+00:00 List-Id: tmoran@acm.org writes: > IIRC, the Burroughs 6500 had what they called a "cactus stack" where > branching would occur for new threads. And there was a Texas Instruments > microprocessor that had no real stack, but rather a set of registers > that could be saved to RAM on a subroutine call. > These preceded DOS. The PDP-8 worked like that; the JMS instruction stored the return address in the first word of the subroutine, execution started at the next word. JMS FOO / CALL SUBROUTINE FOO FOO, +0 / STORED RETURN ADDRESS ... JMP I FOO / RETURN (we only had capitals) --S