This is the mail archive of the
crossgcc@cygnus.com
mailing list for the crossgcc project.
Re: .p2align question
- To: crossgcc@cygnus.com
- Subject: Re: .p2align question
- From: Doug Evans <devans@cygnus.com>
- Date: Tue, 6 Jul 1999 10:51:29 -0700
- Reply-To: crossgcc@cygnus.com
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.