Chapter 4: Viewing Code and Data
Viewing Memory Contents
Viewing Memory Contents
This sections explains how to to view, compare, and search blocks of memory.
To compare two blocks of memory
• Using the command line, enter:
Memory Block_Operation Match <Mismatch_Operation>
Select either Repeat_On_Mismatch or Stop_On_Mismatch to specify what
happens when a mismatch is found, enter the address range to be compared
and the starting address of the range that it is compared to; then, press the
< Return> key.
Example
To compare the block of memory starting at address 1000h and ending at
address 10ffh with a block of the same size beginning at address 5000h and
stop when a difference is found:
Memory Block_Operation Match Stop_On_Mismatch
1000h..10ffh,5000h
To search a memory block for a value
• Using the command line, enter:
Memory Block_Operation Search <Size> <Until>
Select either Byte, Word, or Long as the size of the memory locations, select
either Once or Repeatedly to specify when the search should stop, enter the
160