Debug: P--Notes
Transferring control to the program being tested
When the p command transfers control from Debug to the program being tested, that
program runs without interruption until the loop, repeated string instruction,
software interrupt, or subroutine at the specified address is completed, or until the
specified number of machine instructions have been executed. Control then
returns to Debug.
Limitations on the address parameter
If the address parameter does not specify a segment, Debug uses the CS register of the
program being tested. If you omit address, the program is executed beginning at the address specified by its CS:IP
registers. You must precede the address parameter with an equal sign (=) to distinguish it from the number parameter. If the instruction at the specified address is not a loop, a
repeated string instruction, a software interrupt, or a subroutine, the p command works the same way as the Debug t (trace) command.
Messages displayed with the p command
After p executes an instruction, Debug displays the contents of the program's
registers, the status of its flags, and the decoded form of the next instruction to be
executed.
Caution: You cannot use the p command to trace through read-only memory (ROM).
More Information About Debug: P
Debug: P--Example
Debug: P