Sbpc- Breakpoint Count - Nice Z80+ Operation Manual

Table of Contents

Advertisement

SBPC - BREAKPOINT COUNT
Purpose
Specifies the number of passes NICE makes before stopping at the selected break
point.
NOTE
Each of the three breakpoints has its own one-byte
pass counter. Specifying a pass count allows NICE
to trace a program past a particular address more
than once before terminating with a breakpoint.
After NICE traces each instruction, it compares the enabled breakpoint addresses to
the program counter..
If
a match is found, NICE determines whether the pass
counter is zero.
o
If
the pass counter is zero, NICE stops tracing and sends the register display to
the terminal.
o
If
the pass counter does not read zero, then it is decremented and NICE
continues tracing.
Pass counters can also be used to determine the number of times a program passed a
certain address. (NICE retains the decremented values even after it stops tracing.)
Format
SBPC Breakpoint-Number, Pass-Count
The Breakpoint Number must be either 1, 2, or 3. The Pass-Count is a one-byte
value.
19.

Advertisement

Table of Contents
loading

Table of Contents