System Debug Reference Manual (32650-90888)
Chapter 6 203
System Debug Command Specifications M-X
M (modify)
pointer.
realaddr
MZ only. The real mode memory address to be modified.
ldev.off
MSEC only. The logical device number (LDEV) and byte offset of the data on
disk to be displayed. This address is entered in the form
ldev.byteoffset
.
count
MA, MC, MD, MDB, MS, MQ: The number of CM 16-bit words to be modified.
MC, MV, MZ: The number of NM 32-bit words to be modified.
If omitted, a single line of values is modified.
base
The desired representation mode for output values:
% or OCTAL Octal representation
# or DECIMAL Decimal representation
$ or HEXADECIMAL Hexadecimal representation
ASCII ASCII representation
This parameter can be abbreviated to as little as a single character.
If omitted, the current output base is used.
newvalue(s)
The new values for the specified locations. Specified new values are
automatically assigned to the locations until the new values are
exhausted. If the new values are omitted, or if they run out, Debug
prompts for the remaining new values. To retain the original value, simply
press
Return. The character dot "." can be entered to abort the modification
loop. All locations modified before the dot is encountered are permanently
changed.
Examples
$nmdebug > mv sp-2c,,,4
$ Virt 21.40050780 = '....' $e7 := 4
Modify value at SP-2c, replacing it with $4.
%cmdebug > md 1.64,6,h
$ DST 1.34 = "v4" $7634 := %111
$ DST 1.35 = ".." $5 := (retain original value)
$ DST 1.36 = ".." $fffa := $c0
$ DST 1.37 = ".." $fff0 := 1234
$ DST 1.38 = ".." $0 := .
current/remaining modifications aborted at user request
Modify 6 words starting at DST 1.64. Display values (and addresses) in hex.
DST 1.34 is assigned a new value of %111.
DST 1.35 retains its original value of %5.
DST 1.36 is assigned a new value of $c0.
DST 1.37 is assigned a new value of 1234.