From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,cdca3dc8d6167cd4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-12-21 09:50:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!diablo.theplanet.net!newspeer.clara.net!news.clara.net!news5-gui.server.ntli.net!ntli.net!news6-win.server.ntlworld.com.POSTED!not-for-mail Message-ID: <3C237513.B0746365@virgin.net> From: Alan Greig X-Mailer: Mozilla 4.6 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: PDP-10 architectural flaws? (was: VMS missing features) References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <9vsfqc$1ng$4@bob.news.rcn.net> <85bsgtosjc.fsf_-_@junk.nocrew.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 21 Dec 2001 17:44:51 +0000 NNTP-Posting-Host: 62.252.135.22 X-Complaints-To: abuse@virgin.net X-Trace: news6-win.server.ntlworld.com 1008956719 62.252.135.22 (Fri, 21 Dec 2001 17:45:19 GMT) NNTP-Posting-Date: Fri, 21 Dec 2001 17:45:19 GMT Organization: Virgin Net Usenet Service Xref: archiver1.google.com comp.os.vms:56592 alt.sys.pdp10:8529 comp.sys.dec:10029 Bob Koehler wrote: > I > > The accumulators were the first 4 bits of addresss space. You could > put code in them and jump to it, it would execute. You could use an > accumulator address anywhere a memory address was valid. > And very handy that could be as well. A program could copy a small section of itself into the accumulators and then jump into them. That code could load another program (say) into the same address space. Fast tight loops could also execute in the accumulators although this was more of a benefit on the earlier pre KL-10 PDP-10s > I don't have the reference anymore, but I think it was the JSYS or > some of the JRST. > Ah sounds like you are thinking of pre-defined MACROs such as ERMSG and ERHLT which I think expanded to something like: ERMSG < Unexpected error -> PUSHJ 17, [hrroi 1,[asciz/Unexpected Error/ psout% setom 1 ; -1 last error code esout% ; output error strinng popj 17] ; continue execution Probably have the argument to esout% slightly wrong as I'm not sure it went to .priou (primary output - sys$output) by default. psout% - primary output string out did. Yes these predefined expansions assumed a stack pointer in 17 (octal) but nothing forced you to use them. -- Alan Greig