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>length return length of item masm operator</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LENGTH           Return Length of Item                          MASM Operator

  LENGTH variable

    Returns the number of BYTE, WORD, DWORD, QWORD, or TBYTE items
    occupied by variable.

       Notes:     The type of the variable determines what element size is
                  used.

                  The value returned by this value is the number preceding
                  the DUP operator in the variable definition.  Therefore,
                  only variables defined using the DUP operator will
                  return values greater than 1.  String constants will
                  allows return 1.

See Also: SIZE

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