Page of GC20-1807-7 As Updated April 1, 1981 by TNL GN25-0829
7.When describing an area of storage in mainline code, a copy file,
or a macro,DSECT is issued containing DS instructions.
8. Meaningful names are used instead of self-defining terms: for
example,5,X'02',C'I' to represent a quantity (absolute address,
displacement, length, register, etc.). All labels, displacements,
and valuesare symbolic. All bits should be symbolic and defined
by an equate(EOU) listing. For example: VMSTATUS EOU X'02' To set a bit, use: 01 BYTE, BIT
whereBYTE = name of field, BIT is an EOU symbol.
To reset a bit, use:
NIBYTE,255-BIT To set multiple bits, use: 01 BYTE,BIT1+BIT2 etc.
All registers are referred to as:RO, R1, ••• , R15.
All lengths of fields or control blocks are symbolic, that is,
length ofVMBLOK is: VMBLOKSZ EQU *-VMBLOK 9. Avoid absolute relative addressing in branches and data references,
(that is, location counter value (*) or symbolic label plus or
minus a self-defining term used to form a displacement).10. When usinq a sinqle operation to reference multiple values, specify
each value referenced, for example:LM R2,R4,CONT SET R2=CON1 SET R3=CON2 SET R4=CON3 CON1 CON2 CON3 DC F'1'
DC F'2'
DCF
I
3
1 11. Do not use PRINT NOGEN or PRINT OFF in source code.
212IBM VM/370 System programmer's Guide
7.
or a macro,
8. Meaningful names are used instead of self-defining terms: for
example,
displacement, length, register, etc.). All labels, displacements,
and values
by an equate
where
To reset a bit, use:
NI
All registers are referred to as:
All lengths of fields or control blocks are symbolic, that is,
length of
(that is, location counter value (*) or symbolic label plus or
minus a self-defining term used to form a displacement).
each value referenced, for example:
DC F'2'
DC
I
3
1
212