VMS Help  —  MACRO  /ALPHA  Directives  .WORD
    Word storage directive

    Format

      .WORD  expression-list

1  –  Parameter

 expression-list

    One or more expressions separated by commas.

2  –  Description

    .WORD generates successive words (2 bytes) of data in the object
    module.

3  –  Notes

    o  The expression is first evaluated as a quadword and then
       truncated to a word. The value of the expression should be
       in the range of -32,768 to +32,767 for signed data or 0 to
       65,535 for unsigned data. The assembler displays an error if
       the high-order 6 bytes of the quadword expression have a value
       other than zero or ^XFFFFFFFFFFFF.

    o  The assembler truncates on the left of an integer or external
       value.

    o  Addresses are not allowed with .WORD.

    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 word (16-bit) boundary
       before allocating storage.

4  –  Example

        .WORD 5,6,7
Close Help