ZiLOG ZDS-1 Series User Manual page 10

Table of Contents

Advertisement

1
ZDS-1/25 Debug Command Package
may reside in internal or external prototype memory, or a combination of both. Debug commands are contained
The ZDS-1/25 Debug Command Package provides the capability t o control, analyze and debug programs whic
h
in 3K of PROM and use 1K of RAM for a "scratchpad" area. The following is a list of the debug commands and 4
their functions:
BREAK
Sets an automatic hardware breakpoint into
PORT
Permits examination and/or modification of
the real-time debug module. This break can
I/O port data.
be on a memory read, memory write, 110
port read, or 110 port write. Addresses, data
and data masks can also be specified. A break
from the user program can also be caused by
pressing the Monitor button on the front pan-
el. In either case, a break causes the state of
the user's CPU to be stored so that execution
PULSE
Is identical to Break except that a pulse is
provided, via a BNC connector, each time
the specified condition occurs, and the pro-
gram continues to execute. Pulse can be used
to synchronize external test equipment.
can be resumed later, Control returns to the
debug level.
QUIT
Returns control to the OS level.
COMPARE
Mows the user to compare blocks of mem-
ory.
REGISTER
Provides access to the Z80-CPU registers.
They may be displayed in their entirety or
DISPLAY
Provides access to memory locations. These
memory locations may be displayed as a block
or observed one at a time for examination and
modification.
opened one at a time for examination and
change. The register command also allows
the user to display and modify the address
flag and interrupt mode.
FILL
Allows the user to store a specified data byte
throughout a range of memory addresses.
SAVE
Stores the RAM image of linked programs
and subroutines on the user's disk.
GET
Transfersfde images formed by the SAVE
SET
Stores data entered from the terminal into
0
command into system memory, ready to be
specified or memory locations.
executed by the GO Command.
TRACE
Specifies if memory read, memory write, port
Begins execution of the user's program. Ex-
read and/or port write conditions are to be
ecution can begin at any specified address,
01
stored in the Real-Time Debug Module during
it can continue from a previous breakpoint.
execution of the user's program.
A programmed or manual break is required
to return control back to the debug level.
INTERRUPT Allows the user to display and modify the
STATUS
state of the interrupt enable flip-flop.
HISTORY
Is normally issued after a break from a user
program. This instruction lists on the term-
inal the state of the address, data and control
busses of the CPU during the execution of up
to 255 bus transactions that occurred in the
user's program just prior to a break.
JUMP
Transfers control to a starting address of pro-
gram, but the system remains in the Monitor
Mode.
MOVE
Allows the user to transfer a block of mem-
ory of any size from any location to any o-
ther location.
NEXT
Executes one or "N" instructions and prints
the contents of the CPU registers after each
instruction.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents