On CMS you invoke
the Disassembler with the
ASMD
command.
>>-ASMD--filename--+--------+--+---------------+---------------><
'-MODULE-' | .--------. |
| V | |
'-(----option-+-'
The ASMD command allocates all required files and then passes
control to the Disassembler module, ASMDASM. If you enter
any file definitions
before the ASMD command is issued, then they are used.
The MODULE keyword is required if and only if you are
disassembling a CMS module.
Here are the file definitions:
- SYSIN
- This file contains control statements of which the module-CSECT
statement is required.
The ASMD command issues the following FILEDEF command:
FILEDEF SYSIN DISK filename DISASM * (RECFM FB LRECL 80 BLOCK 16000
- SYSLIB
- Specifies the file name of the module to
be disassembled.
For object decks,
the ASMD command issues the following FILEDEF command:
FILEDEF SYSLIB DISK filename TEXT * (RECFM FB LRECL 80 BLOCK 16000
For CMS Modules,
no FILEDEF command is issued.
- SYSPRINT
- Specifies the output file for the disassembler listing
The ASMD command issues the following FILEDEF command:
FILEDEF SYSPRINT DISK filename LISTING * (RECFM FBA LRECL 121 BLOCK 1210
- SYSPUNCH
- Specifies the output file for the disassembler source.
The ASMD command issues the following FILEDEF command:
FILEDEF SYSPUNCH DISK filename PUNCH * (RECFM FB LRECL 80 BLOCK 16000
- COPYLIB
- This contains control statement members
selected by COPY control statement.
Opened only if you use the COPY control statement.
The ASMD command issues the following FILEDEF command:
FILEDEF COPYLIB DISK CMSLIB MACLIB * (RECFM FB LRECL 80 BLOCK 8000
Before using the COPY control statement, you must issue the CMS
command GLOBAL MACLIB to identify the MACLIBs to be searched
for control statement members. For more information about
the GLOBAL MACLIB command, see
the applicable
CMS Command and Macro Reference.