This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: .p2align question


   From: biguo@263.net
   Date: 6 Jul 1999 03:44:48 -0000

   .p2align n is to align n bytes?Please tell me.

The "p2" in "p2align stands for "power of 2".

Thus .p2align 3 means align to an 8 byte boundary.
If you want to align to a byte boundary use .balign.

There is also .align, but whether it aligns to a power-of-2 or byte
boundary is target specific.

This is in the manual.
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]