From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fd705,2481588b2317173b X-Google-Attributes: gidfd705,public X-Google-Thread: 1164f8,2481588b2317173b X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1991-09-28 02:23:56 PST Path: gmdzi!unido!mcsun!uunet!decwrl!pa.dec.com!jrdzzz.jrd.dec.com!tkou02.enet.dec.com!jit533!diamond From: diamond@jit533.jit.dec.com (Norman Diamond) Newsgroups: alt.folklore.computers,comp.sys.dec Subject: Re: why three syncs? Message-ID: <1991Sep27.051428.3896@tkou02.jit.dec.com> Date: 27 Sep 91 05:14:28 GMT References: <3625@unisoft.UUCP> <1991Sep13.033249.9764@convex.com> <1764@geovision.gvc.com> <1991Sep24.195644.6326@fid.morgan.com> Sender: usenet@tkou02.jit.dec.com (USENET News System) Reply-To: diamond@jit533.enet@tkou02.enet.dec.com (Norman Diamond) Organization: Digital Equipment Corporation Japan , Tokyo Xref: gmdzi alt.folklore.computers:34356 comp.sys.dec:25388 In article <1991Sep24.195644.6326@fid.morgan.com> sethb@fid.morgan.com (Seth Breidbart) writes: >In article <1764@geovision.gvc.com> pt@geovision.gvc.com writes: >: >>Any body know the reason for zeroing registers twice? I've seen it in the >>few pieces of BAL I've ever tried to understand.... >According to my memory, there was some computer that had two copies of >each register in hardware. SUB R1,R1 would subtract one copy from the >other. All instructions that stored into a register would store into >both copies. However, when the machine was powered up, there could be >garbage in the registers, and different garbage in the two copies. >The first zeroing only ensured that the same garbage was in both >copies. The second zeroing actually zeroed the register. This is pretty hard to believe. SR R1,R1 (if indeed that is the BAL that was referred to) was very widely used, without repetition. Possibly the redundant instructions were important in taking up two bytes of space without changing anything, so that the next instruction would be aligned on a multiple of 4 (or 8). Usually BCR 0,R0 was used for this purpose, but I wouldn't be surprised if some programmers used redundant SRs instead. -- Norman Diamond diamond@jit081.enet.dec.com If this were the company's opinion, I wouldn't be allowed to post it. signature, n.: acm special interest group on studies of the real world.