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>operator precedence order</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Operator Precedence Order

         Order of Operator Precedence from Highest to Lowest

                  LENGTH, SIZE, WIDTH, MASK, (), [], <>
                  .
                  :
                  PTR, OFFSET, SEG, TYPE, THIS
                  HIGH, LOW
                  + (unary), - (unary)
                  *, /, MODE, SHL, SHR
                  +, -
                  EQ, NE, LT, LE, GT, GE
                  NOT
                  AND
                  OR, XOR
                  SHORT, .TYPE

  --------------------------------------------------------------------------

    Operator precedence determines the order in which the terms of an
    expression will be evaluated.  Operators with the highest precedence
    will be evaluated before operators with lower precedence.

       Notes:         Operators on the same line have equal precedence.

                      Operators of equal precedence are evaluated from
                      left to right.

                      Operations in parentheses are performed first.

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