System Debug Reference Manual (32650-90888)
Chapter 6 201
System Debug Command Specifications M-X
M (modify)
Parameters
offset
MA, MDB, MQ, MS only. The CM word offset that specifies the relative
starting location of the area to be modified.
logaddr
MC, MCG, MCP, MCLG, MCLP, MS, MCU only. A full logical code address
(LCPTR) specifies three necessary items:
• The logical code file (PROG, GRP, SYS, and so on.).
• NM: the virtual space ID number (SID).
CM: the logical segment number.
• NM: the virtual byte offset within the space.
CM: the word offset within the code segment.
Logical code addresses can be specified in various levels of detail:
• As a full logical code pointer (LCPTR):
MC procname+20 Procedure name lookups return LCPTRs.
MC pw+4 Predefined ENV variables of type LCPTR.
MC SYS(2.200) Explicit coercion to a LCPTR type.
• As a long pointer (LPTR):
MC 23.2644
sid.offset
or
seg.offset
The logical file is determined based upon the command suffix. For
example:
MC implies PROG
MCG implies GRP
MCS implies SYS, and so on
• As a short pointer (SPTR):
MC 1024
offset
only
For NM, the short pointer offset is converted to a long pointer using the
function STOLOG, which looks up the SID of the loaded logical file. This
is different from the standard short to long pointer conversion, STOL,
which is based on the current space registers (SRs).
For CM, the current executing logical segment number and the current
executing logical file are used to build a LCPTR.
The search path used for procedure name lookups is based on the
command suffix letter:
MC Full search path:
NM: PROG, GRP, PUB, USER(s), SYS
CM: PROG, GRP, PUB, LGRP, LPUB, SYS
MCG Search GRP, the group library.