= DEBUG command [ MPE Debug/Stack Dump Reference Manual ] MPE/iX 5.0 Documentation
MPE Debug/Stack Dump Reference Manual
=
DEBUG command
Calculates expression.
SYNTAX
=expression[, mode]
PARAMETERS
expression The expression to be evaluated. The expression can
include octal values (default), decimal values (must be
preceded by # ), ASCII values (must be enclosed in
quotes, as "A"), memory content (location must be
enclosed in apostrophes, as 'Q+ 2'), and regis- ter
content (must be preceded by $, as $X). The types of
values may be mixed in an expression. (Required
parameter.)
mode The representation mode for the result. 0 specifies
octal, I decimal, H hexadecimal, A ASCII, and C code.
All numbers included in the mnemonic code display are
octal. If omitted, the result is represented as an
octal value. (Optional parameter.)
EXAMPLES
?=4+(5*2 -3/(1+1)) Answer is 15 (octal).
=15
?=#4+(55*#12)-"A", I Answer is + 479 (decimal).
=+479
?=$Q Answer is current value
of Q-register (41 octal)
=41
?='DB+26' Answer is current contents
of DB+ 26 (23420 octal)
=23420
?='Q+l',C Answer is current contents
of Q+1 (NOP, DCMP code).
= NOP,DCMP
MPE/iX 5.0 Documentation