22.02.2015 Views

HLASM Language Reference

HLASM Language Reference

HLASM Language Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Language</strong> Compatibility<br />

<strong>Language</strong> Compatibility<br />

The assembler language supported by High Level Assembler has functional<br />

extensions to the languages supported by Assembler H Version 2 and DOS/VSE<br />

Assembler. High Level Assembler uses the same language syntax, function,<br />

operation, and structure as Assembler H Version 2. Similarly, the functions<br />

provided by the Assembler H Version 2 macro facility are all provided by High Level<br />

Assembler.<br />

Migration from Assembler H Version 2 or DOS/VSE Assembler to High Level<br />

Assembler requires an analysis of existing assembler language programs to ensure<br />

that they do not contain:<br />

Macro instructions with names that conflict with High Level Assembler symbolic<br />

operation codes<br />

SET symbols with names that conflict with the names of High Level Assembler<br />

system variable symbols<br />

Dependencies on the type attribute values of certain variable symbols or macro<br />

instruction operands<br />

With the exception of these possible conflicts, and with the appropriate High Level<br />

Assembler option values, source language source programs written for Assembler<br />

H Version 2 or DOS/VSE Assembler, that assemble without warning or error<br />

diagnostic messages, should assemble correctly using High Level Assembler.<br />

An E-Deck refers to a macro source book of type E that can be used as<br />

the name of a macro definition to process in a macro instruction. E-Decks are<br />

stored in edited format, and High Level Assembler requires that library macros be<br />

stored in source statement format. A library input exit can be used to analyze a<br />

macro definition, and, in the case of an E-Deck, call the VSE/ESA ESERV program<br />

to change, the E-Deck definition, line by line, back into source format required by<br />

the assembler, without modifying the original library file.<br />

See the section titled Using the High Level Assembler Library Exit for Processing<br />

E-Decks in the IBM VSE/ESA Guide to System Functions manual. This section<br />

describes how to set up the exit and how to use it.<br />

Assembler <strong>Language</strong><br />

The assembler language is the symbolic programming language that lies closest to<br />

the machine language in form and content. You will, therefore, find the assembler<br />

language useful when:<br />

You need to control your program closely, down to the byte and even the bit<br />

level.<br />

You must write subroutines for functions that are not provided by other<br />

symbolic programming languages, such as COBOL, FORTRAN, or PL/I.<br />

The assembler language is made up of statements that represent either instructions<br />

or comments. The instruction statements are the working part of the language and<br />

are divided into the following three groups:<br />

Machine instructions<br />

Assembler instructions<br />

4 <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!