Re: [avr-gcc-list] 24 bit Integer

2008-07-30 Thread Clint Lawrence
2008/7/14 Weddington, Eric [EMAIL PROTECTED]: A 24-bit integer is not supported by the C language. In theory, support could be added to GCC, but then it would be considered an extension to the C language. And it would also be difficult and/or time-consuming to add to GCC. The C standard

RE: [avr-gcc-list] 24 bit Integer

2008-07-30 Thread Dave Hansen
From: [EMAIL PROTECTED] 2008/7/14 Weddington, Eric [EMAIL PROTECTED]: A 24-bit integer is not supported by the C language. In theory, support could be added to GCC, but then it would be considered an extension to the C language. And it would also be difficult and/or time-consuming to

Re: [avr-gcc-list] 24 bit Integer

2008-07-30 Thread Steven Michalske
what about a PDP 8 or PDP 15, could we not code for it? being 12 and 18 bit machines? Steve On Jul 30, 2008, at 8:36 AM, Dave Hansen wrote: From: [EMAIL PROTECTED] 2008/7/14 Weddington, Eric [EMAIL PROTECTED]: A 24-bit integer is not supported by the C language. In theory,

RE: [avr-gcc-list] 24 bit Integer

2008-07-30 Thread Weddington, Eric
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] org] On Behalf Of Steven Michalske Sent: Wednesday, July 30, 2008 8:38 PM To: avr-gcc List Subject: Re: [avr-gcc-list] 24 bit Integer what about a PDP 8 or PDP 15, could we not code for it? being 12

RE: [avr-gcc-list] 24 bit Integer

2008-07-30 Thread Dave Hansen
For a PDP-8, CHAR_BIT would be 12, int could have 24 bits, and long could have 36 or 48, whatever is most convenient/efficient/desired. For a PDP-15, char and int could be the same 18-bit type, and long could be 36 bits. On further reflection, you might be able to replace the standard 16