Multibyte data types suffer both alignment and byte order issues. ARM is
little endian, while 68K is big endian.

Be aware that passing a pointer between ARM and 68K constitutes a multibyte
data type. While the alignment of the pointer target may be fine, the
alignment and byte order of the pointer itself may be wrong.


On 2/28/07, krishna prasad <[EMAIL PROTECTED]> wrote:
>
> Alexander R. Pruss wrote:
> > Alignment issues only come up when going from 68K to ARM.  The ARM is
> more picky than the 68K.  So if you go from ARM to 68K, you're fine.
> >
> What about 68K to ARM. If we use new operator and create a char array
> would that be a problem when passed to ARM? I believe alignment problem
> comes only when accessing datatype using multiple bytes(long, double
> etc). Please correct me if I am wrong.
>
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe,
> please see http://www.access-company.com/developers/forums/
>



-- 
CMRPigs
MRNotPigs
OSMR2Pigs
LILBMRPigs!
Jeff Loucks

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to