On Tuesday, June 19, 2001, at 04:09 PM, Philip Andrew Ferguson wrote:

> I have a quick question.  What are the sizes of the following variable
> types in the ARM architecture?

I'm assuming that your question was intended to be something like, "what 
are the sizes of the following C types for a 32-bit ARM using the GNU 
toolset?" (As far as I can tell, the APCS doesn't specify type sizes 
except to say that integral types occupy one word, except for long long, 
which takes two. Floating-point types may use one, two, or three words.)

The one-line C program which answers this question reveals that char 
uses one byte; short uses two; int, long, and float each take four; and 
double needs eight.

-jd

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to