HLASM Language Reference
HLASM Language Reference HLASM Language Reference
Contents Sublists in Operands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304 Values in Operands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307 Omitted Operands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307 Unquoted Operands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308 Special Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308 Nesting Macro Instruction Definitions . . . . . . . . . . . . . . . . . . . . . . . . . 311 Inner and Outer Macro Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . 312 Levels of Macro Call Nesting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312 General Rules and Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . 313 Passing Values through Nesting Levels . . . . . . . . . . . . . . . . . . . . . . 314 System Variable Symbols in Nested Macros . . . . . . . . . . . . . . . . . . . 316 Chapter 9. How to Write Conditional Assembly Instructions . . . . . . . . 318 SET Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319 Subscripted SET Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319 Scope of SET Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319 Scope of Symbolic Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 319 SET Symbol Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320 Subscripted SET Symbol Specification . . . . . . . . . . . . . . . . . . . . . . 322 Created SET Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323 Data Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324 | Attributes of Symbols and Expressions . . . . . . . . . . . . . . . . . . . . . . 326 Type Attribute (T') . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328 Length Attribute (L') . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332 Scale Attribute (S') . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333 Integer Attribute (I') . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334 Count Attribute (K') . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335 Number Attribute (N') . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336 Defined Attribute (D') . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337 Operation Code Attribute (O') . . . . . . . . . . . . . . . . . . . . . . . . . . . 337 Sequence Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339 Lookahead . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340 Open Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342 Conditional Assembly Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . 343 Declaring SET Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 GBLA, GBLB, and GBLC Instructions . . . . . . . . . . . . . . . . . . . . . . . 344 LCLA, LCLB, and LCLC Instructions . . . . . . . . . . . . . . . . . . . . . . . 345 Assigning Values to SET Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . 347 SETA Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347 SETB Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362 SETC Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369 Extended SET Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 SETAF Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 SETCF Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389 Branching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390 AIF Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390 AGO Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392 ACTR Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394 ANOP Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395 Chapter 10. MHELP Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . 397 Part 4. Appendixes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401 viii HLASM V1R5 Language Reference
Contents Appendix A. Assembler Instructions . . . . . . . . . . . . . . . . . . . . . . . 402 Appendix B. Summary of Constants . . . . . . . . . . . . . . . . . . . . . . . 407 Appendix C. Macro and Conditional Assembly Language Summary . . . . 409 Appendix D. Standard Character Set Code Table . . . . . . . . . . . . . . . 421 Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425 Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425 Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427 High Level Assembler Publications . . . . . . . . . . . . . . . . . . . . . . . . . . 427 Toolkit Feature Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427 Related Publications (Architecture) . . . . . . . . . . . . . . . . . . . . . . . . . . 427 Related Publications for MVS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427 Related Publications for VM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428 Related Publications for VSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429 Contents ix
- 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 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 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
Contents<br />
Appendix A. Assembler Instructions . . . . . . . . . . . . . . . . . . . . . . . 402<br />
Appendix B. Summary of Constants . . . . . . . . . . . . . . . . . . . . . . . 407<br />
Appendix C. Macro and Conditional Assembly <strong>Language</strong> Summary . . . . 409<br />
Appendix D. Standard Character Set Code Table . . . . . . . . . . . . . . . 421<br />
Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425<br />
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425<br />
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427<br />
High Level Assembler Publications . . . . . . . . . . . . . . . . . . . . . . . . . . 427<br />
Toolkit Feature Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427<br />
Related Publications (Architecture) . . . . . . . . . . . . . . . . . . . . . . . . . . 427<br />
Related Publications for MVS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427<br />
Related Publications for VM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428<br />
Related Publications for VSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428<br />
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429<br />
Contents<br />
ix