HLASM Language Reference

HLASM Language Reference HLASM Language Reference

faculty.cs.niu.edu
from faculty.cs.niu.edu More from this publisher
22.02.2015 Views

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

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>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!