Program Organization
This section describes the following 3704/3705 co •• and processing aodules: DMKRND--NCPDUMP command processor DMSARN--ASM3705 com.and processor (for NCP/VS Release 2 and 3 Assembler) DMSARX--ASM3705 com.and processor (for
NCP/VS Release 4 Assembler) DMSGRN--GEN3705 command processor DMSLKD--LKED coama.nd processor DMSNCP--SAVENCP co •• and processor DMKRND The interface to the 05/360 3705 dump prograll. Runs in a CMS virtual machine R1: Address of parameter list
R13: Address of savearea
R14: Return address
R15: CSECT base register Q§gg§ RO-10: Work registers R1l: Address of FSCBDSECT R12: CSECT base register
R13: Address of savearea
R14: Linkage register
R15: Return code Call to Other Routines --IFLDUMP TO-format-and print the dump None
Data Areas -Tsca-- Exit Conditions --R12:--CSECT-base address
R13: Address of input savearea
R14: Return address
R15: Return code DoSIRN The interface between CMS and 3704/3705 Assembler (IFKlS"). !!ltrI goints the I!SARN To process the AS!3705 coamand. ISMBAND To handle any I/O activity
pertaining to the SYSUT2 file
during the asseably.
Attributes --tiskresident Conditions It Dl!SARN Rl: Address of the paraaeter list
R14: Return address
R15: Address of the entry point It AS!HAND R1: Address of the DECB R2: Address of the DCE RS: Address of the CPSECT Rll: Address of the FCESECT R14: Return address
R15: Address of the entry point RO-1 :
R3:
R4-5:
R6:
R7-9: RiO; R 12-13:
R14:
R 15:
Usage Work registers
Base register Work registers
Return address caller Work registers
constant S Work registers
Linkage register
Error code £g!!§ Other Routines IMSERSA To erase old files I!SS!NE To initialize storage IMSSTTA To locate the file pOinters IFKAS! To assemtle the
control program 3704/3705 !!ternal FREE!AIN To return free storage GETMAIN To ottain free storage NUCON The nucleus constant area !YPE To send aessages to
terminal ]g!g None
Exit Conditions the --contentS-of register 15 indicate results
of processing.
Chapter 9. The 3704/3705 Service programs 181
Return Code -0- 4
8
12
16 20 24
28
32
36 DMSARI Ne errors Minor errors detected during
asseably, successful prograa execution is probable
Errors detected during
asseably, unsuccessful prograa execution is possible
Serious errors detected during assembly. unsuccessful
execution is probable Critical errors detected during assembly, unsuccessful
execution is probable Catastrophic errors detected
during asseably, partial or complete asseably canceled.
Invalid option, no filename
File not found
Invalid record length for lSM3105 file No read/write disks accessed
The interface between the ASM3105 command
and the 3704/3105 Assembler (CWAIOO). DMSARI ASMPROC TERMPROC !.!:yiJ2ytes SYSUTl processing routine
Terminal output processing
routine.
Executes in user area Rl: R14:
R15: RO Rl R2
R3
R4
R5
R6
R7
R8
R9 Rl0 Rll 812 R13
R14
R15
Address of the paraaeter list
Return address
Address of the entry point (DMSARI) NUCON addressability
Address of all PLISTs Werk register Werk register GETMAIN/FREEMAIN aaount Werk register GETMAIN/FREEMAIN address ASMPROC address Work register Werk register
Linkage register FCB address during lSMPROC Base register Save area address
Return register from calls
Assembler root address and return
error code !B Other Routines I!SCRD -- Reaa-5YSPIB! froa console I!SCIR Display SYSPIB! aessage to tMSPLt tMSPNS IMSKEY IMSERR IMSE8S IMSSLB t!SSMN console
FILEDEF all asseabler files Close all asseabler files Control nucleus protect key
Display all error aessages Erase old asseabler files
Load the asseabler phases Control storage pOinters (GET!lIN/PREE!IIN) Verify disk file existence tMSLAtAt SET/RESET tbe PST chain for CII100 auxiliary directory 3705 asseabler
segaent (XF) root Reference§ lIT CMSCE IMSARD FSTB 10 NUCON Data Areas -IDNii! OPTLIST OPDEF PARAMLS'I U'IENTRY UTHEAD OPTAE$ SAVEAREA Names of CMS ddna.es for assembler Option list passed to the
assembler (Macro label) names and
al:breviations of all options
Parameter list for assembler
In-core SYSUTl record area
Beader area for in-core records
List of pointers to option
table entries SAVEAREI Exit Conditions -NoRiiI: GPR15=O No error ERROR GPR15=24
GPR15=28
GPR 15=3'2
GPR15=36
GPR15=40
Return Code C-- 4 e 12
Invalid option, no filename
specified
File not found
File not fixed, 80 char.
records No read/write disks accessed
Fileid conflict, device invalid
for input No errors Minor errors detected during
assembly, successful program
execution is probable
Errors detected during assembly, unsuccessful program
execution is possible
Serious errors detected during assembly, unsuccessful
execution is probable
182 IBM VM/370 Service Routines Program Logic
Previous Page Next Page