HP 3000 Manuals

DEBUG COMMANDS [ MPE Debug/Stack Dump Reference Manual ] MPE/iX 5.0 Documentation


MPE Debug/Stack Dump Reference Manual

DEBUG COMMANDS 

DEBUG commands consist of the following elements:

 *  A question mark prompt, displayed by DEBUG.

 *  The command name, consisting of a one- or two-letter identifier.  The
    command name must immediately follow the prompt (i.e., no intervening
    blanks).

 *  Parameters, if any, follow the command name.  Blank characters may
    appear anywhere after the command name, but are not required.  For
    some commands, however, the first parameter must be preceded by a
    comma.  See the SYNTAX and EXAMPLES parts of the command
    specifications for details about specifying parameters.

 *  Parameters that are numeric values (segment, offset, etc.)  can be
    specified as an expression that, when evaluated, results in a single
    precision number Expressions requiring evaluation must be enclosed
    within parentheses.

 *  An expression can include any of the operators:  + , - , /, or * .
    The operands in an expression are assumed to be octal numbers unless
    indicated otherwise as follows:

    #                prefix to decimal value; e.g., # 10 is decimal value
                     10

    %                prefix to octal value; e.g.  , 10 or %10 is octal
                     value 10

    ""               enclose ASCII characters for which an octal
                     equivalent is indicated; "A" indicates octal
                     equivalent 101.

    ` '              enclose memory location of which the contents are
                     indicated; e.g., "DB+ 4" is the contents of location
                     DB+4.

    $                prefix indicating contents of a register; e.g., $P
                     is the current value of P.

    !(a:b)           extract bit field where a is the starting bit and b 
                     is the number of bits; e.g.,$P!(10:10) is bits 8
                     through 15 of the contents of register P. a and b 
                     are octal values.

 *  Parameters used as an offset to a memory location base followed by a
    colon (:)  to indicate indirect addressing.



MPE/iX 5.0 Documentation