To Fill A Block Of Memory With Values; To Compare Two Blocks Of Memory - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Chapter 5: Editing Code and Data
Editing Memory Contents

To fill a block of memory with values

• Using the command line, enter:
Memory Block_Operation Fill <Size>
Select either Byte, Word, or Long as the size of the memory locations, enter
the expression that assigns a value to locations in a range of addresses, and
press the < Return> key.
Example
To fill memory locations 1000h through 1007h with the long pattern
61626364, 65666768:
Memory Block_Operation Fill Long 0x1000..+7='abcdefgh'

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
182

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents