Running A Program From The Foreground Monitor - HP 64780A Installation/Service/Terminal Interface Manual

Emulator/analyzer
Hide thumbs Also See for 64780A:
Table of Contents

Advertisement

Chapter 4:Connecting the Emulator to a Target System
Installing Emulator Features

Running a program from the foreground monitor

Once you are satisfied that the monitor is working and that memory in your target
system can be accessed correctly, you can use the monitor to run your target
program. Use the following procedure:
This may not be necessary because the emulator will attempt to read the initial
stack pointer and initial program counter from address 0 and 4 and initialize these
registers. Alternatively they can be set using the following commands.
94
1 Reset into the monitor.
2 Load a program, if necessary.
3 Initialize the initial stack pointer and initial program counter.
reg isp=<initial ISP>
reg pc=<starting address of target program>
If you do not know these values, you can find them by taking a trace of the
program running from reset as done in the previous sections.
1 Take a trace of the program as it is running, using the following commands:
tg addr=<long aligned starting address of target program>
t
The trigger address must be long aligned because the MC68360 may fetch
instructions as long words from long-word boundaries.
2 Run the program with the command:
r
3 Verify correct operation of the program.

Advertisement

Table of Contents
loading

Table of Contents