[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] 24 bit Integer
From: |
Clint Lawrence |
Subject: |
Re: [avr-gcc-list] 24 bit Integer |
Date: |
Wed, 30 Jul 2008 16:15:20 +0100 |
2008/7/14 Weddington, Eric <address@hidden>:
> 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 doesn't dictate the size of any integer type, except that char
must be large enough to hold the environments standard character set and
the size of any larger types is ordered as you'd expect.
char <= short <= int <= long
int is typically the natural word size for the architecture, but often on 8 bit
micros it will be larger (since char typically provides an 8 bit int anyway.)
Cheers,
Clint
- [avr-gcc-list] 24 bit Integer, Moritz Struebe, 2008/07/14
- RE: [avr-gcc-list] 24 bit Integer, Weddington, Eric, 2008/07/14
- Re: [avr-gcc-list] 24 bit Integer, David Kelly, 2008/07/14
- Re: [avr-gcc-list] 24 bit Integer,
Clint Lawrence <=
- RE: [avr-gcc-list] 24 bit Integer, Dave Hansen, 2008/07/30
- Re: [avr-gcc-list] 24 bit Integer, Steven Michalske, 2008/07/30
- RE: [avr-gcc-list] 24 bit Integer, Weddington, Eric, 2008/07/30
- Re: [avr-gcc-list] 24 bit Integer, Steven Michalske, 2008/07/31
- Re: [avr-gcc-list] 24 bit Integer, Dave N6NZ, 2008/07/31
- RE: [avr-gcc-list] 24 bit Integer, Dave Hansen, 2008/07/31
- RE: [avr-gcc-list] 24 bit Integer, Stu Bell, 2008/07/31