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-22 04:40:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!feed1.news.rcn.net!rcn!207-172-216-167 From: jmfbahciv@aol.com Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: PDP-10 architectural flaws? (was: VMS missing features) Date: Sat, 22 Dec 01 10:34:04 GMT Organization: UltraNet Communications, Inc. Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <9vsfqc$1ng$4@bob.news.rcn.net> <85bsgtosjc.fsf_-_@junk.nocrew.org> <3C237513.B0746365@virgin.net> X-Trace: UmFuZG9tSVaBuZvsDW1oNci0EQOSqJywcSsYcs8jH5w0+on96XC1UsliD5vQxCGr X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 22 Dec 2001 12:39:14 GMT X-Newsreader: News Xpress Version 1.0 Beta #4 Xref: archiver1.google.com comp.os.vms:56781 alt.sys.pdp10:8615 comp.sys.dec:10149 In article <3C237513.B0746365@virgin.net>, Alan Greig wrote: > > >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. > > I always wondered if those MACROes would be misinterpreted for machine instructions. (It was one of the reasons I didn't like them.) Now I know. I was right yet again. One of the features of generating a MACRO listing was that those macroes were expanded so that you could tell if the fucking thing was a macro (look at the machine instructions that occurred on the left hand side of the page). Didn't any CS classes study a CREF listing? /BAH Subtract a hundred and four for e-mail.