cmdDBG_STEPIndex

Command Code:

Host-to-Stem Packet:

Reply Packet:

Description:

This command executes a single instruction in an active debugging process.  A process ID that is out of range will generate an error message.  A process ID for an inactive process or an active process that is not in debug mode will generate an error message.

The reply packet is tagged with the cmdDBG_STEP code.  It contains the process ID, debug status, program counter, stack pointer, and flag register.

The DBGSTAT is 0 if the operation completes normally.  It is 1 if the process exits after an error or normal execution of an exit opcode.  The bits in the FLAGS byte are described below.

  Bit Name Function
7 VMLIVE Set if process is active.
6 VMBLK Set if process is sleeping.
5 VMWAIT Set if process is waiting for input from a device.
4 VMERR Set if last operation caused an error.
3 VMNEG Set if result of last flag-modifying operation was negative.
2 VMZERO Set if result of last flag-modifying operation was zero.
1 VMC Set if result of last flag-modifying operation set carry flag.
0 VMDBG Set if process is running in DEBUG mode.

version: 1.0, build 80903
© Copyright 1994-2008 Acroname, Inc., Boulder, Colorado.  All rights reserved.