VMS Help  —  MACRO  /ALPHA  Directives  .LONG
    Longword storage directive

    Format

      .LONG  expression-list

1  –  Parameter

 expression-list

    One or more expressions separated by commas.

2  –  Description

    .LONG generates successive longwords (4 bytes) of data in the
    object module. The assembler truncates on the left of an integer
    or external value.

3  –  Notes

    o  You can only use this directive within data or mixed psects
       (psects that have either the NOEXE or MIX attributes).

    o  If automatic data alignment is enabled, this directive aligns
       the current location counter to a longword (32-bit) boundary
       before allocating storage.

    o  You can define a 32-bit address item using macros and the
       .LONG directive. For example:

       .macro address_32 item
       .long item
       .endm address_32

4  –  Example

        .LONG 4     ; Places 4 in 4 bytes of storage.
Close Help