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 - use the examine command to examine memory at a specific address. http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Use the Examine command to examine memory at a specific address.


     Examine [/<type>] [<address>] [,<follow> [,<len>]]

where "<type>" is one of


     Byte
     Word
     Dword
     Qword
     Char
     Short
     Long
     __int64
     Unsigned_Char
     Unsigned_Short
     Unsigned_Long
     Unsigned___int64
     0:16_Pointer
     16:16_Pointer
     0:32_Pointer
     16:32_Pointer
     Float
     Double
     Extended_Float

To show an assembly window at a specific address:


     Examine /Assembly [<address>]

To show a source window at a specific address


     Examine /Source [<address>]

To add an address to the I/O window as a byte, word, or dword:


     Examine [/IOByte|/IOWord|/IODword] [<address>]

The options for the Examine command follow:

/<type>
    where "<type>" is one of Byte, Word, Dword, Qword, Char, Short, Long,
    __int64, Unsigned_Char, Unsigned_Short, Unsigned_Long, Unsigned___int64,
    0:16_Pointer, 16:16_Pointer, 0:32_Pointer, 16:32_Pointer, Float, Double,
    or Extended_Float.  Set the initial display type of the memory window.

/IOByte /IOWord /IODword
    Set the initial display type of the line in the I/O window.

<address>
    the address to examine.

<follow>
    an expression which will be used if the memory window's Repeat function
    is chosen.

<len>
    an integer expression indicating the length of memory to examine.

For example, this command opens a memory window positioned at the address of
"foo".  The initial display type will be 2 byte words.  If the Repeat menu
item is used, it will follow a near pointer 4 bytes past the beginning of
the window *(.+$).  The window will display 16 bytes of data at a time:


     examine /word foo,*(.+4),16

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