comp.lang.ada
 help / color / mirror / Atom feed
From: miker3@ix.netcom.com (Mike Rubenstein)
Subject: Re: HELP ! need to insert value in array !!
Date: 1997/07/05
Date: 1997-07-05T08:13:40-07:00	[thread overview]
Message-ID: <33bf5dcc.102201087@nntp.ix.netcom.com> (raw)
In-Reply-To: dewar.868107828@merv


dewar@merv.cs.nyu.edu (Robert Dewar) wrote:

> Mike said
> 
> <<Not really, at least not in the sense that there were instructions
> that handled 7 bit characters specially.  The PDP10 (like its
> predecessor the PDP6) had a byte pointer construction that could be
> used to access any byte in a word where the byte size was specified as
> part of byte pointer.  There was an instruction that would get a byte
> and increment the pointer, handling word boundaries properly (a byte
> could not be split across words).  Byte pointers and the associated
> instructions worked equally well with any byte size up to 36 bits,
> though, of course, some word sizes resulted in more wasted bits than
> others.
> >>
> 
> Sure, but why do you think those instructions where there (the ones to
> handle odd chunk sizes). The answer is that the motivation was precisely
> to allow convenient support of the 7 bit format. The use of these
> instructions for any other size was rare. What happened was that there
> was a requirement for supporting the 5 char/word format in the hardware,
> and the designers generalized it to any byte size (rememebr this was the
> hey day of extravagant CISC design).

In other words, there were no instructions that specifically supported
7 bit characters, but it was a software convention -- exactly what
Richard and I said.

The byte pointers would have been just as useful had the software used
6 bit characters, which was quite common in those days.  It would also
have been useful for 9 bit characters which were used on Univac and
Honeywell machines.

If the idea had been to use 7 bit characters, why not do it simply by
using a 35 or 42 bit word rather than 36?  Or make the machine byte
addressable with 7 bit bytes?

And, of course, the reason that the byte pointer instructions were
used mostly for 7 bit objects was that the software convention used 7
bit characters.  I doubt if anyone who saw only the instruction set
for the PDP6/10 would immediately recognize that the machine was
designed for 7 bit characters.  In retrospect it seems obvious; after
all, ASCII is a 7 bit code, but in the early 60s when the machine was
designed ASCII was not commonly used as an instruction set on
computers.

On the IBM 709x the most common shifts used were multiples of 6 bits.
Does this mean that shifts were put in to support 6 bit characters?
Of course not -- just the reverse, 6 bit characters made 6 bit shifts
more common.


Michael M Rubenstein




  parent reply	other threads:[~1997-07-05  0:00 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <33A9C27C.22F7@post4.tele.dk>
     [not found] ` <5oci49$97g@crl.crl.com>
     [not found]   ` <866920621snz@genesis.demon.co.uk>
1997-06-27  0:00     ` HELP ! need to insert value in array !! Ralph Silverman
1997-06-28  0:00       ` Lawrence Kirby
     [not found]       ` <dewar.867554609@merv>
1997-06-29  0:00         ` Mike Rubenstein
1997-06-29  0:00           ` Robert Dewar
1997-06-29  0:00             ` Mike Rubenstein
1997-06-29  0:00               ` Robert Dewar
1997-06-29  0:00                 ` Mike Rubenstein
1997-06-30  0:00                 ` Ed Hook
1997-07-04  0:00                 ` Richard A. O'Keefe
1997-07-07  0:00                   ` Clive D.W. Feather
1997-07-01  0:00               ` Al Bowers
1997-07-01  0:00             ` Richard Kenner
1997-07-01  0:00               ` Robert Dewar
1997-07-02  0:00             ` Christian Froeschlin
1997-07-02  0:00               ` Robert Dewar
1997-07-04  0:00             ` Richard A. O'Keefe
1997-07-04  0:00               ` Robert Dewar
1997-07-04  0:00                 ` Mike Rubenstein
1997-07-05  0:00                   ` Robert Dewar
1997-07-05  0:00                     ` Larry Kilgallen
1997-07-05  0:00                     ` Mike Rubenstein [this message]
1997-07-05  0:00                       ` Mike Rubenstein
1997-07-10  0:00                     ` Alan Bowler
1997-07-07  0:00                 ` Mark H. Wood
1997-07-09  0:00                   ` Robert Dewar
1997-07-10  0:00                     ` Lawrence Kirby
1997-07-07  0:00                 ` Shmuel (Seymour J.) Metz
1997-07-08  0:00                 ` Richard Kenner
1997-06-30  0:00         ` Samuel T. Harris
replies disabled

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