11.07.2015 Views

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Assembler programBasicAssociatedfunctionsProcessing involves the translation of source statements into machine language,assignment of storage locations to instructions and other elements of the program,and performance of auxiliary assembler functions you have designated. The outputof the assembler program is the object program, a machine language translation ofthe source program. The assembler produces a printed listing of the sourcestatements and object program statements and additional information, such aserror messages, that are useful in analyzing the program. The object program is inthe format required by the linker.dataThe assembler can produce an associated data file that contains information aboutthe source program and the assembly environment. The ADATA informationincludes information such as:v Data sets used by the assemblerv Program source statementsv Macros used by the assemblerv Program symbolsv Program object codev Assembly error messagesDifferent subsets of this information are needed by various consumers, such asconfiguration managers, debuggers, librarians, metrics collectors, and many more.Controlling the assemblyYou can control the way the assembler produces the output from an assembly,using assembler options and assembler language instructions.Assembler options are described in the chapter “Controlling Your Assembly withOptions” in the <strong>HLASM</strong> Programmer’s Guide. A subset of assembler options can bespecified in your source program using the *PROCESS statement described onpage 98.Assembler language instructions are assembler language source statements thatcause the assembler to perform a specific operation. Some assembler languageinstructions, such as the DC instruction, generate object code. Assembler languageinstructions are categorized as follows:Assembler InstructionsThese include instructions for:v Producing associated datav Assigning base registersv Defining data constantsv Controlling listing outputv Redefining operation codesv Sectioning and linking programsv Defining symbolsThese instructions are described in Chapter 5, “Assemblerinstruction statements.”Macro InstructionsThese instructions let you define macros for generating a sequenceof assembler language statements from a single instruction. Theseinstructions are described in Part 3, “Macro language.”6 <strong>HLASM</strong>: <strong>V1R6</strong> <strong>Language</strong> <strong>Ref</strong>

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

Saved successfully!

Ooh no, something went wrong!