comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: What is a byte?
Date: Mon, 28 Jul 2014 17:38:20 -0500
Date: 2014-07-28T17:38:20-05:00	[thread overview]
Message-ID: <lr6jcs$df7$1@loke.gir.dk> (raw)
In-Reply-To: 90305214-9a02-4684-8521-847e8ba38f79@googlegroups.com

"Dan'l Miller" <optikos@verizon.net> wrote in message 
news:90305214-9a02-4684-8521-847e8ba38f79@googlegroups.com...
>of notable historical interest:
>a) The MIT/GE/Honeywell Multics machines had 9-bit bytes.
>b) The Control Data mainframes had 6-bit bytes.
>c) Prime 50...

You missed the Unisys (nee Univac, Sperry, etc.) mainframes, which I've 
worked on at various points in my career. (The very first version of what 
became Janus/Ada ran on a Unisys mainframe at the University of Wisconsin. 
Later, we created a version of Janus/Ada 95 for those mainframes as a 
project with Unisys.)

They originally had 6-bit bytes; later versions also had 9-bit bytes (so 
ASCII characters would fit) -- that's the versions that we built compilers 
for. The C-compilers assumed 9-bit byte addressing, but the machine only 
addressed words directly -- "C pointers" had a byte offset to go with the 
machine address, while "Ada pointers" were just raw machine addresses (to 
36-bit words). The latter was more efficient, of course.

Interestingly, the possibility of access types with different 
representations had never been adequately supported by the Ada standard; 
conversions between different access types designating the same type were 
always assumed to work (something that was never true in any Janus/Ada 95 
compiler; 80x86 versions supposed both segmented and offset alone access 
types). That was just fixed at the last ARG meeting (AI12-0074-1).

                                        Randy.



  parent reply	other threads:[~2014-07-28 22:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-28 19:09 What is a byte? Victor Porton
2014-07-28 19:48 ` Dan'l Miller
2014-07-28 20:05   ` Dan'l Miller
2014-07-28 22:38   ` Randy Brukardt [this message]
2014-07-28 21:15 ` Simon Wright
2014-07-29 10:53 ` Jeffrey Carter
2014-07-29 12:26   ` Dan'l Miller
2014-07-29 18:40     ` Simon Wright
2014-07-29 21:15       ` Dan'l Miller
2014-07-29 23:08         ` Simon Clubley
2014-07-30  4:11       ` Dan'l Miller
2014-07-30  7:47       ` Simon Wright
2014-08-02 21:01   ` Keith Thompson
replies disabled

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