VMS Help  —  MACRO  /ALPHA  Directives  .ALIGN  Examples
      Example 1

           .PSECT A,QUAD  ; Begin at quadword
        B::.BYTE 4        ; Data is byte
           .ALIGN QUAD    ; Next data is
        C::.WORD 6        ; also quadword aligned
      Example 2

           .PSECT A,EXE,NOMIX,OCTA
        L1::TRAPB:        ; offset 0
           .ALIGN OCTA    ; NOP padding bytes 4..15
            TRAPB:         ; offset 16
      Example 3

           .PSECT A,NOEXE,NOMIX,OCTA
        L1:.WORD 5        ; byte offset 0..1
           .ALIGN QUAD,2  ; fill specifier initial value
                          ; of 2 for bytes 2..7
           .WORD 6        ; byte offsets 8..9
Close Help