If you are using 16-bit or 32-bit variables, they must be on even
addresses (if they are not M68K processor goes into exception and the
only way to continue in PalmOS is soft reset).
Hynek Sladky
Peter Chin napsal(a):
I've been reading up a bit on byte alignment issues that cause unexpected
crashes in Palm OS apps. I wonder if this issue might be a potential source of
trouble in the programming that I do.
Can anyone tell me if this happens only when connecting a 68K app to ARMlets or is it
also possible to run into this problem with "pure" 68K apps that are running on
ARM-based PDAs?
I currently develop using PODS 1.2 and test on a Treo 650. I'm using some of
the Palm (not just PalmSource) APIs. I am not accessing ARMlets (at least, not
that I am aware).
Thanks for any feedback.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/