On 9/23/2015 11:22 PM, Eric Smith wrote:
ISO/IEC 9899:1999(E) §3.6 ¶1 - a byte has to hold any member of the basic character set ISO/IEC 9899:1999(E) §3.7.1 ¶1 - a character is a C bit representation that fits in a byte ISO/IEC 9899:1999(E) §5.2.4.2.1 ¶1 - the size of a char is CHAR_BIT bits, which is at least 8 ISO/IEC 9899:1999(E) §6.2.6.1 ¶2-4 - everything other than bitfields consists of bytes
Bla Bla Bla ... What happened to seven bit ASCII? I think the major change in C from the OTHER programing languages is BYTE addressing. Even Pascal from what I have seen packs characters in words of some kind. That is main dividing line in how memory can be accessed. char *ptr++ vs array(foo-1) 0-99 can hold a trimmed character set and 10 digits per int. 5 chars per word sounds right on decimal machine. Logic operations would be on the digit rather the binary level. This may not be standard C but I has the early PDP 11 C feel if they I developed UNIX on decimal machine. Ben.