[LCP]Data alignment

Igor furlan at telocity.com
Tue Jan 8 18:25:09 UTC 2002


In such a case CPU needs TWO consecuteive reads to read two bytes
instead of ONE
Igor

Priya wrote:

> This is more of a conceptual question.
> We know that multibyte data must be aligned on a
> natural boundary.That is four byte dta on a four byte
> boundary and two byte data on two byte boundary and so
> forth.But what is the reason behind this.CAn anyone
> please explain.What will be the problem if the data is
> not aligned???
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
> _______________________________________________
> This is the Linux C Programming List
> :  http://lists.linux.org.au/listinfo/linuxcprogramming List




More information about the linuxCprogramming mailing list