CodeView (cv.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Memory Operators
 Example                                   Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Syntax: BY address     Access byte
             WO address     Access word
             DW address     Access doubleword
 
     Memory operators return the content of specific locations in
     memory. They are unary operators that return the result of a
     direct memory operation. Use these operators to debug in Assembly/
     Mixed mode; however, they are not needed for high-level debugging.
     See: Source Display Mode (S) Command-Window Command
          Options Menu: Source Window Command
 
     Operator     Action
 
     BY           Accesses the byte at a given address. The result
                  is a short integer that contains the value of the
                  first byte stored at <address>.
 
     WO           Accesses the word at a given address. The result is a
                  short integer that contains the value of the first two
                  bytes stored at <address>.
 
     DW           Accesses the doubleword at a given address. The
                  result is a long integer that contains the value of
                  the first four bytes stored at <address>.
                  NOTE: Do not confuse the DW operator with the
                        Dump Words (DW) command.
 
     See: Addresses
          Dump (D) Command-Window Commands
 
     The CodeView memory operators are part of the C expression
     evaluator and should not be confused with CodeView commands. These
     operators have the lowest precedence of any C operators.
     See: C Operators: Order of Precedence
                                    -♦-