Breaking Into The Foreground Monitor; Exiting 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

Breaking into the foreground monitor

The next thing to try with the foreground monitor is to see if you can break into it
from your target program. The emulator uses the BKPT signal to break into the
monitor. No stacking is required to enter the monitor. Program execution will stop
abruptly once the BKPT signal takes affect. The background monitor
automatically transfers control to the foreground monitor.
While the emulator is transitioning into the foreground monitor, interrupts are
temporarily blocked. Once in the foreground monitor, the interrupt mask level is
lowered to the greater of the "monintr" configuration setting or the target program
mask level.
Entry into the foreground monitor can be traced by using the following trigger
specification.
tck -ub
tp c
tg addr=<addr range of monitor>
t
b

Exiting the foreground monitor

If the tests of the preceding paragraphs operate correctly, you should be able to
resume execution of the target program. You may want to take a trace of the
monitor exit to verify that everything is working correctly. Use the run command:
r
87

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp 64782bHp 64782cHp 64782eHp 64782gHp 64782j

Table of Contents