Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month! TASM 2.x / MASM 6.x Assembly Language - <b>operator precedence order</b> [<<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
                  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: --- NG 2 HTML conversion by Dave Pearson