HLASM Language Reference
HLASM Language Reference HLASM Language Reference
Assembler Language Structure Conditional assembly instruction statements and the macro processing statements (MACRO, MEND, MEXIT, MNOTE, AREAD, ASPACE, and AEJECT) are described in Figure 10 on page 26. The conditional assembly instructions are discussed in Chapter 9, “How to Write Conditional Assembly Instructions,” and macro processing instructions in Chapter 7, “How to Specify Macro Definitions.” Both types are summarized in Appendix A, “Assembler Instructions.” Macro instruction statements are described in Figure 11 on page 27, and discussed in Chapter 8, “How to Write Macro Instructions” on page 297. 22 HLASM V1R5 Language Reference
Assembler Language Structure Overview of Assembler Language Structure ┌─────────────────────────┐ │ │ │ Source module │ │ made up of │ │ source statements │ │ │ └────────────┬────────────┘ │ ▼ Which can be │ EITHER │ OR ┌──────────────────────────◄─┴─►──────────────────────────┐ ▼ ▼ ┌────────────┴────────────┐ ┌────────────┴────────────┐ │ │ │ │ │ INSTRUCTION │ │ COMMENT │ │ STATEMENTS │ │ STATEMENTS │ │ │ │ │ └────────────┬────────────┘ └────────────┬────────────┘ │ │ ▼ Which are of │ │ three main types │ ┌─────────────────────┼─────────────────────┐ │ ▼ ▼ ▼ │ ┌───────┴───────┐ ┌───────┴───────┐ ┌───────┴───────┐ │ │ MACHINE │ │ ASSEMBLER │ │ MACRO │ │ │ Instructions │ │ Instructions │ │ Instructions │ │ └───────┬───────┘ └───────┬───────┘ └───────┬───────┘ │ ▼ ▼ ▼ │ └─────────────────────┼─────────────────────┘ │ │ │ ▼ Which are composed of │ │ from one to four fields │ ┌─────────────────────┼─────────────────────┬─────────────────────┐ │ ▼ ▼ ▼ ▼ │ ┌───────┴───────┐ ┌───────┴───────┐ ┌───────┴───────┐ ┌───────┴───────┐ │ │ NAME │ │ OPERATION │ │ OPERAND │ │ REMARKS │ │ └───────┬───────┘ └───────┬───────┘ └───────┬───────┘ └───────┬───────┘ ▼ ▼ ▼ │ ▼ │ | ┌───────┴───────┐ ┌───────┴───────┐ │ └───────────►─┤ | │ No DBCS │ │ No DBCS │ ▼ Which, for machine │ | └───────────────┘ └───────────────┘ │ instructions, is │ │ composed of │ ┌───────┴───────┐ │ │ EXPRESSIONS │ │ └───────┬───────┘ │ │ │ ▼ Which are │ │ composed of │ ┌──────────┴──────────┐ ▼ Which are ▼ ▼ │ composed of ┌───────┴───────┐ ┌───────┴───────┐ ┌───────┴───────┐ │ TERMS │ │ Combination │ │ Any │ │ │ │ of terms │ │ Characters │ └───────┬───────┘ └───────┬───────┘ └───────┬───────┘ ▼ ▼ ▼ └─────────────────────┼────────────────────────┘ │ ▼ Which are │ composed of ┌─────────┴─────────┐ │ EBCDIC and DBCS │ │ CHARACTERS │ └───────────────────┘ Figure 7. Overview of Assembler Language Structure Chapter 2. Coding and Structure 23
- 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 18 and 19: ▌C▐ The item referred to by ▌
- 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 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
- Page 68 and 69: Terms, Literals, and Expressions Th
- Page 70 and 71: | Chapter 3. Program Structures and
- Page 72 and 73: Source Module A source module is co
- Page 74 and 75: The CSECT instruction can be used a
- Page 76 and 77: | in linker control statements for
- Page 78 and 79: This is not only convenient, but it
- Page 80 and 81: | SECT_A CSECT , Define section SEC
- Page 82 and 83: | For executable sections, the loca
- Page 84 and 85: Addressing | The System/390® and z
- Page 86 and 87: Addressing | Parts must always be r
- Page 88 and 89: Addressing Literal Pools ALPHA LR 3
- Page 90 and 91: Addressing If the symbol is the nam
Assembler <strong>Language</strong> Structure<br />
Conditional assembly instruction statements and the macro processing statements<br />
(MACRO, MEND, MEXIT, MNOTE, AREAD, ASPACE, and AEJECT) are described<br />
in Figure 10 on page 26. The conditional assembly instructions are discussed in<br />
Chapter 9, “How to Write Conditional Assembly Instructions,” and macro<br />
processing instructions in Chapter 7, “How to Specify Macro Definitions.” Both<br />
types are summarized in Appendix A, “Assembler Instructions.”<br />
Macro instruction statements are described in Figure 11 on page 27, and<br />
discussed in Chapter 8, “How to Write Macro Instructions” on page 297.<br />
22 <strong>HLASM</strong> V1R5 <strong>Language</strong> <strong>Reference</strong>