Re: A89: int vs. short int
[Prev][Next][Index][Thread]
Re: A89: int vs. short int
At 13:20 2000-12-30, you wrote:
>| Yes on 16bit systems like 68k int and short is the same size
>
>How are 16 bit systems defined? A processor register is 32 bits in the
>M68k, but it seems that multiplication and division instructions exist for
>at most 16 bit values.
>
>The default in GCC is actually to make 'int' 32 bits wide if compiling for
>an M68k processor.
Is that so? usally it is defined by the bus width, but the 68k is a bit
special since
it is 32 bit internally and 16 bit externally. There is a version of the
68k called
680008 that has a 8 bit wide external bus too, but you don't call that 8
bit... hmm.
///Olle
Follow-Ups:
References: