To Store A Program - HP MC68040 User Manual

Emulator, graphical user interface
Table of Contents

Advertisement

To store a program

• Using the command line, transfer a range of memory locations from the emulator to
an HP 9000 file by entering the command:
store memory [ fcode <fcode>] <expression> [ thru
<expression>] [ offset_by <offset>] to <filename>
<fcode>
<fcode>
none
super
user
<expression>
<offset>
<filename>
If you patched a program or data structure by modifying memory, you may want to
save the memory image for comparison with other changes or for future testing.
The store command allows you to do this.
The store command creates absolute files in HP64000 format. The .X extension is
added automatically.
Example
To save the memory locations of the init_system routine in an absolute file named
new, use the command line to enter:
store memory init_system thru init_system end to new
is an optional function code as follows:
Meaning
emulator store, defaults to supervisor
space.
supervisor address space
user address space
specifies the starting (and ending, in thru <expression>)
addresses of the memory range to be stored.
optional value to be subtracted from <expression>.
is the name (including paths if needed) of a file to store the data.
Chapter 4: Using the Emulator
Loading and Storing Programs
119

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ec040Lc04064783a64783b

Table of Contents