HLASM Language Reference
HLASM Language Reference HLASM Language Reference
Miscellany The ASCII translation table is upgraded. The Relocation Dictionary in the assembler listing is reformatted. A Numeric assembler version identifier is introduced. Additional diagnostic messages are provided. Enhancements to the External function parameter list. Enhancements to the Assembler summary listing. A new exit call - REINIT. Remove the internal dependency on the blocksize of SYSUT1. New limit of 1K for SETC and parameter string lengths. Enhancements to internal conditional assembly functions. xviii HLASM V1R5 Language Reference
Part 1. Assembler Language—Structure and Concepts Part 1. Assembler Language—Structure and Concepts Chapter 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Language Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Assembler Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Machine Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Assembler Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Macro Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Assembler Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Basic Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Associated Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Controlling the Assembly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Processing Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Relationship of Assembler to Operating System . . . . . . . . . . . . . . . . . . . 8 Coding Made Easier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Symbolic Representation of Program Elements . . . . . . . . . . . . . . . . . 9 Variety in Data Representation . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Controlling Address Assignment . . . . . . . . . . . . . . . . . . . . . . . . . 9 Relocatability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Sectioning a Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Linkage between Source Modules . . . . . . . . . . . . . . . . . . . . . . . 10 Program Listings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 | Multiple Source Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Chapter 2. Coding and Structure . . . . . . . . . . . . . . . . . . . . . . . . . 11 Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Standard Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Double-Byte Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Translation Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Assembler Language Coding Conventions . . . . . . . . . . . . . . . . . . . . . 14 Field Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Statement Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Continuation-Indicator Field . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Identification-Sequence Field . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Continuation Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Alternative Statement Format . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Continuation of double-byte data . . . . . . . . . . . . . . . . . . . . . . . . 16 Blank Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Comment Statement Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Instruction Statement Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Statement Coding Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Assembler Language Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Overview of Assembler Language Structure . . . . . . . . . . . . . . . . . . . 23 Machine Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Assembler Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Conditional Assembly Instructions . . . . . . . . . . . . . . . . . . . . . . . . . 26 Macro Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Terms, Literals, and Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Self-Defining Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Location Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 © Copyright IBM Corp. 1982, 2004 1
- 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 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
- Page 68 and 69: Terms, Literals, and Expressions Th
Miscellany<br />
The ASCII translation table is upgraded.<br />
The Relocation Dictionary in the assembler listing is reformatted.<br />
A Numeric assembler version identifier is introduced.<br />
Additional diagnostic messages are provided.<br />
Enhancements to the External function parameter list.<br />
Enhancements to the Assembler summary listing.<br />
A new exit call - REINIT.<br />
Remove the internal dependency on the blocksize of SYSUT1.<br />
New limit of 1K for SETC and parameter string lengths.<br />
Enhancements to internal conditional assembly functions.<br />
xviii<br />
<strong>HLASM</strong> V1R5 <strong>Language</strong> <strong>Reference</strong>