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>. structure field-name operator masm operator</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
.                Structure Field-Name Operator                  MASM Operator

  structvariable.field

    Used to access a field within a structure.

       Notes:     Structvariable is a variable previously declared as a
                  structure and field is a field within that structure.

                  The effective address generated when using this operator
                  ('.') is the sum of the offset of structvariable and the
                  offset of field within the structure.  This address is
                  relative to the group or segment in which structvariable
                  is defined.

                  This operator is equivalent to using the addition
                  operator ('+') in indexed or base operands.

See Also: STRUC + Operator Precedence

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