Re: Guidelines for instruction set design?

George Neuner <gneuner2@comcast.net>
Sun, 10 May 2009 00:59:57 -0400

          From comp.compilers

Related articles
[7 earlier articles]
Re: Guidelines for instruction set design? gah@ugcs.caltech.edu (glen herrmannsfeldt) (2009-05-05)
Re: Guidelines for instruction set design? bartc@freeuk.com (BartC) (2009-05-05)
Re: Guidelines for instruction set design? gneuner2@comcast.net (George Neuner) (2009-05-05)
Re: Guidelines for instruction set design? walter@bytecraft.com (Walter Banks) (2009-05-06)
Re: Guidelines for instruction set design? gmt@cs.arizona.edu (2009-05-06)
Re: Guidelines for instruction set design? dot@dotat.at (Tony Finch) (2009-05-07)
Re: Guidelines for instruction set design? gneuner2@comcast.net (George Neuner) (2009-05-10)
Re: Guidelines for instruction set design? toby@telegraphics.com.au (toby) (2009-05-10)
Re: Guidelines for instruction set design? anton@mips.complang.tuwien.ac.at (2009-05-12)
Re: Guidelines for instruction set design? gneuner2@comcast.net (George Neuner) (2009-05-12)
Re: Guidelines for instruction set design? walter@bytecraft.com (Walter Banks) (2009-05-13)
Re: Guidelines for instruction set design? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2009-05-13)
Re: Guidelines for instruction set design? cfc@shell01.TheWorld.com (Chris F Clark) (2009-05-18)
[2 later articles]
| List of all articles for this month |

From: George Neuner <gneuner2@comcast.net>
Newsgroups: comp.compilers
Date: Sun, 10 May 2009 00:59:57 -0400
Organization: A noiseless patient Spider
References: 09-05-020 09-05-042 09-05-049
Keywords: architecture, C
Posted-Date: 12 May 2009 05:03:34 EDT

On 07 May 2009 16:35:36 +0100 (BST), Tony Finch <dot@dotat.at> wrote:


>gmt@cs.arizona.edu (Gregg Townsend) wrote:
>>
>> [The C language doesn't require] individually addressable characters
>
>You mean bytes. Characters don't fit in bytes.


C has always required individually addressable characters, but
characters are not required to be 8-bit. Prior to ANSI C (C89) bytes
were not even defined as a language item and it was coincidence that
there existed platforms on which characters could be considered
synonymous with bytes.


C89 defines "byte" in terms of character: a byte is an addressable
unit of data storage large enough to hold any member of the character
set of the environment.


C99 refines the C89 definition to specify that the "character set" be
the "_basic_ character set of the _execution_ environment".


C99 specifies multi-byte characters and makes a distinction between a
"basic character" whose bit pattern must fit into a single byte, and a
"wide character" which may require multiple bytes to express.


George
[Historical note: C was first implemented on the GE 635, a 36 bit word
addressed machine with a very complex instruction set that could also
handle 9 bit bytes. -John]



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.