Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: diamond@jit533.jit.dec.com (Norman Diamond)
Subject: Re: why three syncs?
Date: 27 Sep 91 05:14:28 GMT	[thread overview]
Message-ID: <1991Sep27.051428.3896@tkou02.jit.dec.com> (raw)
In-Reply-To: 1991Sep24.195644.6326@fid.morgan.com

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.


  reply	other threads:[~1991-09-27  5:14 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-09-04 19:48 why three syncs? Tom Rauschenbach
1991-09-04 21:42 ` Steven M Kosloske
1991-09-04 23:54   ` Dirk Grunwald
1991-09-05  2:36     ` Frederick M. Avolio
1991-09-05 19:40       ` Greg Lehey
1991-09-06  5:19       ` John Dodson
1991-09-05 10:11   ` Jose Pina Coelho
1991-09-07  0:32     ` Russell E. Button
1991-09-08 19:42       ` Win Treese
1991-09-10 21:56         ` Plagarism (was Re: why three syncs?) Dana H. Myers
1991-09-11  3:11           ` Win Treese
1991-09-11 14:20             ` J. Horsmeier
1991-09-11 21:01             ` Dana H. Myers
1991-09-09 10:45       ` why three syncs? J. Horsmeier
1991-09-04 22:57 ` Brian Ellis
1991-09-05  8:01 ` Tom Ploegmakers
1991-09-12 20:33   ` Veteran of the Psychic Wars
1991-09-13  3:32     ` Anthony A. Datri
1991-09-23  3:17       ` Ezra Peisach
     [not found]       ` <1764@geovision.gvc.com>
1991-09-24 19:56         ` Seth Breidbart
1991-09-27  5:14           ` Norman Diamond [this message]
1991-09-05 13:45 ` Frank Wortner
1991-09-06 12:03 ` Christopher Samuel
  -- strict thread matches above, loose matches on Subject: below --
1991-09-06 16:19 Steven M. Stadnicki
1991-09-11 11:27 Bruno Pape
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox