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

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 one the BKPT signal takes affect. The background monitor automatically
transfer control to the background monitor.
While the emulator is transitioning into the foreground monitor, interrupts are
temporarily blocked. Once in the monitor the interrupt mask level is lowered to the
greater of the "monint" configuration setting or the target program mask level.
Entry into the foreground monitor can be traced by using the following trigger
specification.
tck -u
tp c
tg addr=<addr rangeof 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
Software breakpoint entry into the foreground
monitor
Software breakpoints are handled the same as for the background monitor. Test
them the using the same procedure as for the background monitor.
95

Advertisement

Table of Contents
loading

Table of Contents