To Specify Exception Processing Behavior - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

To specify exception processing behavior

• Using the command line, enter:
Debugger Option General Exceptions
Select Normal, Report, or Stop; then, press the < Return> key.
Normal
The debugger handles exceptions as would the processor.
(default)
Report
The debugger reports exceptions to the Journal window and
then handles them as would the processor.
Stop
The debugger reports exceptions to the Journal window and
then halts program execution.
The Debugger Option General Exceptions command sets the value of @exc.
You can set @exc as you would any program variable. The following table lists
what the values of @exc mean:
@exc value
stop
execution
0
yes
1
no
2
no
4
yes
5
no
6
no
bus error and address error exception handling is not simulated. Bus errors
cannot occur during simulation, and an address error will terminate processing
regardless of the value of the @exc pseudoregister.
Due to the fact that bus error and coprocessor simulation is not provided, the
only possible exception stack frame formats are $0 (short format), $1
(throwaway), and $2 (instruction exception).
Chapter 7: Configuring the Debugger
Setting the General Debugger Options
report to journal
trap coprocessor
window
exceptions
yes
yes
yes
yes
no
yes
yes
no
yes
no
no
no
219

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents