Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Assembly Language - <b>label create variable or label masm directive</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LABEL            Create Variable or Label                      MASM Directive

  name      LABEL     type

    Creates a new variable or label, assigning the current location
    counter to it.

       Notes:     Name must not be previously defined.

                  Type may be BYTE, WORD, DWORD, QWORD, TBYTE, NEAR, FAR,
                  or the name of a valid structure type.

  -------------------------------- Example ---------------------------------

           BYTE_BUFFER    LABEL     BYTE
           WORD_BUFFER    DW        512 dup (?)

    The 1024-byte (512 words) buffer can be addressed as a 512-byte WORD
    buffer using WORD_BUFFER or a 1024-byte BYTE buffer using BYTE_BUFFER.

See Also: EQU =

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson