HLASM Language Reference
HLASM Language Reference HLASM Language Reference
▌C▐ The item referred to by ▌1▐ is a required operand. Allowable choices for this operand are given in the fragment of the syntax diagram shown below ▌1▐ at the bottom of the diagram. The operand can also be repeated. That is, more than one choice can be specified, with each choice separated by a comma. Double-Byte Character Set Notation Double-byte character set (DBCS) characters in terms, expressions, character strings, and comments are delimited by shift-out and shift-in characters. In this manual, the shift-out delimiter is represented pictorially by the < character, and the shift-in delimiter is represented pictorially by the > character. The EBCDIC codes for the shift-out and shift-in delimiters are X'0E' and X'0F', respectively. The following figure summarizes the DBCS notation used throughout this manual. Character(s) Represents < Shift-out (SO) > Shift-in (SI) D1D2D3... DaDbDc... .A.B.C.'.&., eeeeeee abcd... XXX Double-byte characters Double-byte characters EBCDIC characters in double-byte form: A, B, C, single quotation mark, ampersand, and comma. The dots separating the letters represent the hexadecimal value X'42'. A double-byte character that contains the value of an EBCDIC ampersand or single quotation mark in either byte is not recognized as a delimiter when enclosed by SO and SI. Single-byte (EBCDIC) characters Single-byte (EBCDIC) characters Extended continuation indicator for macro-generated statements +++ Alternative extended continuation indicator for macro-generated statements | n EBCDIC character containing all 0 bits. | f EBCDIC character containing all 1 bits. xvi HLASM V1R5 Language Reference
Summary of Changes Date of Publication June 2004 Form of Publication Fifth Edition, SC26-4940-04 Here is a list of the changes to HLASM that are explained in this document. Extended support for machine instructions When the GOFF option is in force, the RI machine instructions are able to reference one or more external symbols (“RI Format” on page 91). Support for 20-bit displacement instructions Changed Assembler instructions Quadword alignment CA data type CE data type 8-byte Q, R, J and V-cons CNOP DC/DS EQU ORG Changed assembler statements Support PART and PRIORITY attributes on the CATTR statement, for MVS and CMS (“CATTR Instruction (MVS and CMS)” on page 112). AMODE ANY64 operand added (“AMODE Instruction” on page 110) Unified Opcode table A single opcode table is provided. OPTABLE option – The OPTABLE option is permitted on the *PROCESS statement. ADATA enhancements The following enhancements are made to ADATA: Revised layout of the ADATA records. The ADATA Exit processing is changed such that it mirrors the processing of other exits. GOFF ESD and RLD information are provided. The maximum record length is increased. © Copyright IBM Corp. 1982, 2004 xvii
- Page 1: High Level Assembler for MVS & VM &
- Page 4 and 5: Note! Before using this information
- Page 6 and 7: Contents Source Module . . . . . .
- Page 8 and 9: Contents Ordinary USING Instruction
- Page 10 and 11: Contents Sublists in Operands . . .
- Page 12 and 13: About this Manual This manual descr
- Page 14 and 15: IBM High Level Assembler for MVS &
- Page 16 and 17: | The Internet. You can access IBM
- Page 20 and 21: Miscellany The ASCII translation t
- Page 22 and 23: Part 1. Assembler Language—Struct
- Page 24 and 25: Language Compatibility Language Com
- Page 26 and 27: Assembler Program Assembler Program
- Page 28 and 29: Relationship of Assembler to Operat
- Page 30 and 31: Coding Made Easier Linkage between
- Page 32 and 33: Character Set Compatibility with Ea
- Page 34 and 35: Assembler Language Coding Conventio
- Page 36 and 37: Assembler Language Coding Conventio
- Page 38 and 39: Assembler Language Coding Conventio
- Page 40 and 41: Assembler Language Coding Conventio
- Page 42 and 43: Assembler Language Structure Condit
- Page 44 and 45: Assembler Language Structure Machin
- Page 46 and 47: Assembler Language Structure Condit
- Page 48 and 49: Terms, Literals, and Expressions Te
- Page 50 and 51: Terms, Literals, and Expressions -
- Page 52 and 53: Terms, Literals, and Expressions As
- Page 54 and 55: Terms, Literals, and Expressions Se
- Page 56 and 57: Terms, Literals, and Expressions Fo
- Page 58 and 59: Terms, Literals, and Expressions I
- Page 60 and 61: Terms, Literals, and Expressions Th
- Page 62 and 63: Terms, Literals, and Expressions 1.
- Page 64 and 65: Terms, Literals, and Expressions
- Page 66 and 67: Terms, Literals, and Expressions
Summary of Changes<br />
Date of Publication June 2004<br />
Form of Publication Fifth Edition, SC26-4940-04<br />
Here is a list of the changes to <strong>HLASM</strong> that are explained in this document.<br />
Extended support for machine instructions<br />
When the GOFF option is in force, the RI machine instructions are able to<br />
reference one or more external symbols (“RI Format” on page 91).<br />
Support for 20-bit displacement instructions<br />
Changed Assembler instructions<br />
Quadword alignment<br />
CA data type<br />
CE data type<br />
8-byte Q, R, J and V-cons<br />
CNOP<br />
DC/DS<br />
EQU<br />
ORG<br />
Changed assembler statements<br />
Support PART and PRIORITY attributes on the CATTR statement, for MVS and<br />
CMS (“CATTR Instruction (MVS and CMS)” on page 112).<br />
AMODE<br />
ANY64 operand added (“AMODE Instruction” on page 110)<br />
Unified Opcode table<br />
A single opcode table is provided.<br />
OPTABLE option<br />
– The OPTABLE option is permitted on the *PROCESS statement.<br />
ADATA enhancements<br />
The following enhancements are made to ADATA:<br />
Revised layout of the ADATA records.<br />
The ADATA Exit processing is changed such that it mirrors the processing of<br />
other exits.<br />
GOFF ESD and RLD information are provided.<br />
The maximum record length is increased.<br />
© Copyright IBM Corp. 1982, 2004 xvii