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.

END instructionThe EJECT instruction statement itself is not printed in the listing.ENDinstructionUse the END instruction to end the assembly of a program. You can also supply anaddress in the operand field to which control can be transferred after the programis loaded. The END instruction must always be the last statement in the sourceprogram.►►sequence_symbolENDexpression,language►◄sequence_symbolis a sequence symbol.expressionspecifies the point to which control can be transferred when loading of theobject program completes. If the GOFF option is in effect this parameter isignored. This point is usually the address of the first executable instruction inthe program, as shown in the following sequence:NAME CSECTAREA DS 50FBEGIN BALR 2,0USING *,2...ENDBEGIN||If specified, expression may be generated by substitution into variable symbols.v It must be a simply relocatable expression representing an address in thesource module delimited by the END instruction, orv If it contains an external symbol, the external symbol must be the only termin the expression, or the remaining terms in the expression must reduce tozero.v It must not be a literal.languagea marker for use by language translators that produce assembly code. Theoperand has three sub-operands. The values in this operand are copied into theEND record in the object deck if the NOGOFF option is specified, or in aB_IDRL record if the GOFF option is specified.The syntax of this operand is(char10,char4,char5)where all three sub-operands, and the commas and parentheses are required.char10 is a one to ten character code. It is intended to be a language translatoridentifier. char4 must be exactly four characters long. It is intended to be aversion and release code. char5 must be exactly five characters long, andshould be a date in the format “YYDDD”. It is intended to be the compile date.For example:ENDENTRYPT,(MYCOMPILER,0101,00273)Chapter 5. Assembler instruction statements 181

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

Saved successfully!

Ooh no, something went wrong!