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>equ create symbol masm directive</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
EQU              Create Symbol                                 MASM Directive

  name      EQU       expression

    Creates absolute symbols (names that represent 16-bit values), aliases
    (names that represent other symbols), or text symbols (names that
    represent strings) by assigning name to expression.

    The expression parameter may be any of the following:

              *     integer (234)
              *     string constant ('abc')
              *     real number (3.23)
              *     encoded real number (2F0000000000r)
              *     instruction mnemonic (mov ax, 1)
              *     constant expression (23 * 4)
              *     address expression  (arrayPtr)

       Notes:     The name parameter must not have been previously defined
                  and may not be redefined.

                  If expression evaluates to a number between 0 and 65535,
                  the assembler replaces name with a value. In all other
                  cases, the assembler replaces name with text.

See Also: = LABEL

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