Examine Field Expression Syntax


The syntax described in this appendix can be used in the Examine fields of display windows and in Register windows and Data windows, but not in the Variables window.

Operators

Unary            - ~                    (for minus NOT)
arithmetic            + - * /
bitwise            | & ~ ^ << >>                     (for OR AND NOT XOR bit shifts)
grouping            (  )

Constants

constants are hexadecimal by default
constants prefixed by
            $ or 0x are hexadecimal
            # are decimal
            % are binary
symbols are allowed

Registers

A register name can be used anywhere in place of a symbol:

R0-R15 SP LK PC