Register
1
2Use Virtual address
Real address
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,
should be symbolic and defined by an equate (EQU) listing. For example:
VMSTATUSEQU X'02' To set a bit, use: 01 BYTE,BIT
where BYTE = name of field, BIT is anEQU symbol.
To reset a bit, use:
NI BYTE,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 using a single operation to reference multiple values, specify each value
referenced, for example:
LM R2,R4,CONT SETR2=CONI SET R3=CON2 SETR4=CON3 CONI DC F'I' CON2 DC F'2' CON3 DC F'3' CP Conventions 277
1
2
Real address
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,
should be symbolic and defined by an equate (EQU) listing. For example:
VMSTATUS
where BYTE = name of field, BIT is an
To reset a bit, use:
NI BYTE,255-BIT
To set multiple bits, use:
etc ....
All registers are referred to as:
All lengths of fields or control blocks are symbolic, that is, length of
location counter value (*) or symbolic label plus or minus a self-defining term
used to form a displacement).
referenced, for example:
LM R2,R4,CONT SET