[fpc-devel] Re: closing of bug 5042 or general unalignment problems with arm compiler

Roozbeh GHolizadeh roozbehid at yahoo.com
Mon Apr 24 22:25:28 CEST 2006


>Hello,

>What exactly are those exceptions of Misalligned data
access on windows CE?

>And why that doesn´t exist on x86 architecture?

>thanks,

Those are something like access violation exceptions
in  x86,when for example you try to read/write to nil
pointer region.
With ms embeded visual c-only v4.0-we can handle those
with try/catch(i think we cant in fpc),and accur when
you access unaligned memory addresses.
I dont know why we dont have them on x86,but i know
for x86 it is also difiicult to handle,and internally
it handles them aligned and do conversions.
maybe becouse in arm implementing and accessing them
makes it slow.
I also read an article which said on ia64 it is also
problem,and windows generate error for accessing
unaligned data as it is very slow.

regards

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the fpc-devel mailing list