Running A Program From The Foreground 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
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.
86
1 Reset into the monitor.
2 Load a program, if necessary.
3 Initialize the initial stack pointer and initial program counter.
reg ssp=<initial SSP>
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=<starting address of target program>
t
2 Run the program with the command:
r
3 Verify correct operation of the program.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp 64782bHp 64782cHp 64782eHp 64782gHp 64782j

Table of Contents