Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom Debugger Guide - <u>+</u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+
    Plus:  The result is the value on the right.

_
    Minus:  The result is the negation of the value on the right.

~
    Bit-wise complement:  The result is the bit-wise complement of the value
    on the right.

++
    Increment:  Both prefix and postfix operators are supported.  If the
    object is on the right, it is pre-incremented by 1 (e.g., ++x).  If the
    object is on the left, it is post-incremented by 1 (e.g., x++).

_ _
    Decrement:  Both prefix and postfix operators are supported.  If the
    object is on the right, it is pre-decremented by 1 (e.g., --x).  If the
    object is on the left, it is post-decremented by 1 (e.g., x--).

&
    Address of:  The result is the address (segment:offset) of the object on
    the right (e.g., &main).

*
    Points:  The result is the value stored at the location addressed by the
    value on the right (e.g., *(ds:100), *string.loc).  In the absence of
    typing information, the value on the right is treated as a pointer into
    the default data segment (DGROUP) and a near pointer is produced.


               (SS:00FE) = FFFF
         var:  (SS:0100) = 0152
               (SS:0102) = 1240
               (SS:0104) = EEEE

%
    Value at address:  The result is the value stored at the location
    addressed by the value on the right (e.g., %(ds:100), %string.loc).  In
    the absence of typing information, the value on the right is treated as
    a pointer into the default data segment (DGROUP) and a far pointer is
    produced.


               (SS:00FE) = FFFF
         var:  (SS:0100) = 0152
               (SS:0102) = 1240
               (SS:0104) = EEEE

    Note that this operator is not found in the FORTRAN 77 programming
    language.

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