Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>.type return mode and scope of an expression operator</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
.TYPE            Return Mode and Scope of an Expression              Operator

  .TYPE expression

    Returns a byte that declares the mode and scope of an expression.

       Notes:     Below is the format of the byte that is returned:

                          Bits
                    7 6 5 4 3 2 1 0
                    x . . . . . . .  1=External scope; 0=Local or Public scope
                    . x . . . . . .  Always 0
                    . . x . . . . .  Defined
                    . . . x x x . .  Always 0
                    . . . . . . x .  Data-related
                    . . . . . . . x  Program-related

                  If the expression is not valid, the entire byte is 0.

                  This operator is often used with conditional directives,
                  where the status of a variable is needed for program
                  control.

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