"Danny Epstein" <[EMAIL PROTECTED]> wrote in message
news:76003@palm-dev-forum...
>
> > Because the actual processors are different, the
> > entire OS ends up being compiled into a different instruction set, but
the
> > packing rules and endianness mean you can still access data in the same
> way.
>
> Actually, Intel has slightly different packing rules than ARM. On Intel
> chips, you can put a 32-bit quantity at any even address (same as 68K). On
> ARM chips, the address must be a multiple of 4. This discrepancy means
that
> your app can run fine in the Windows Simulator, but still bus error on a
> real ARM. This is one reason why there is still value in a version of
Poser
> that emulates ARM devices. There are many others as well. As with the
> Mac-base simulator versus Poser, it was never really a contest. Both tools
> were useful.
> -
> Danny
>
You can set the packing rules in the compiler. I presume that it is set
for longword (4 byte) boundaries in the simulator.
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi/sec: not just a good idea, it's the LAW!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/