Running A Program From The Background Monitor - HP 64782 Series Manual

Mc6833x emulator/analyzer
Hide thumbs Also See for 64782 Series:
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 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 ssp=<initial SSP>
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
79

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp 64782bHp 64782cHp 64782eHp 64782gHp 64782j

Table of Contents