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: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2002-01-09 00:25:59 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: Buffer Overflows - again Was: (Re: Congratulations for the Date: 9 Jan 2002 02:25:56 -0600 Organization: LJK Software Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C369287.6080901@tsoft-inc.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1010564758 16048 192.135.80.34 (9 Jan 2002 08:25:58 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Wed, 9 Jan 2002 08:25:58 +0000 (UTC) Xref: archiver1.google.com comp.os.vms:59306 alt.sys.pdp10:9329 comp.sys.dec:11252 In article , peter@taronga.com (Peter da Silva) writes: > In article , > Bob Koehler wrote: >> Uncle. OK, I short changed that one a bit. I know MOVCx, POLYx, and >> others on VAX are interruptable, but we were really talking about a >> simple ADD. Do you know of any processor that has an interruptable >> integer ADD? > > How about > > ADDL2 (R1)+,(R2)+ > > where R1 and R2 both point to different non-resident pages? I believe ADDL2 is a non-interruptable instructions on VAX, so after the fault was handled the instruction would be restarted from scratch. Contrast this with MOVCx, where if the FPD (first part done) bit has been set by the time of the interrupt, execution after the handler exits is continued part-way through the instruction (on whatever character it was doing, I believe) rather than having to start all over again. That handling based on the First Part Done bit is always what I have thought of as being the definition of an interruptable instruction on VAX.