Running A Program From The Background 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

Running a program from the background 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. Proceed as follows:
1 Reset into the monitor.
2 Load a program, if necessary.
3 Initialize the initial stack pointer and initial program counter.
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.
reg isp=<initial ISP>
reg pc=<target program starting address>
If these values are not known, they can be found by taking a trace of the
program running from reset, as was done in the previous sections.
1 Take a trace of the program running, using the following commands:
tg addr=<target program starting address>
t
2 Run the program with the command:
r
3 Verify correct operation of the program.
From this point on, most of the problems will be discussed from a functional point
of view instead of a parametric point of view. If any of the functional problems
discussed below identify a problem that looks parametric, use the debugging
techniques of the previous procedures to isolate the problem.
Installing Emulator Features
85

Advertisement

Table of Contents
loading

Table of Contents