GNU Info

Info Node: (nasm.info)Section 6.1.2

(nasm.info)Section 6.1.2


Next: Section 6.1.3 Prev: Section 6.1.1 Up: Section 6.1
Enter node , (file) or (file)node

6.1.2. `bin' Extensions to the `SECTION' Directive
--------------------------------------------------

   The `bin' output format extends the `SECTION' (or `SEGMENT')
directive to allow you to specify the alignment requirements of
segments.  This is done by appending the `ALIGN' qualifier to the end
of the section-definition line. For example,

     section .data   align=16

   switches to the section `.data' and also specifies that it must be
aligned on a 16-byte boundary.

   The parameter to `ALIGN' specifies how many low bits of the section
start address must be forced to zero. The alignment value given may be
any power of two.


automatically generated by info2www version 1.2.2.9