22.02.2015 Views

HLASM Language Reference

HLASM Language Reference

HLASM Language Reference

SHOW MORE
SHOW LESS

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

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

END Instruction<br />

change but no additional page eject is performed. (The TITLE instruction normally<br />

forces a page eject.)<br />

The EJECT instruction statement itself is not printed in the listing.<br />

END Instruction<br />

Use the END instruction to end the assembly of a program. You can also supply<br />

an address in the operand field to which control can be transferred after the<br />

program is loaded. The END instruction must always be the last statement in the<br />

source program.<br />

►►──┬─────────────────┬──END──┬────────────┬──┬─────────────┬──────►◄<br />

└─sequence_symbol─┘<br />

└─expression─┘<br />

└─,──language─┘<br />

sequence_symbol<br />

is a sequence symbol.<br />

expression<br />

specifies the point to which control can be transferred when loading of the<br />

object program completes. If the GOFF option is in effect this parameter is<br />

ignored. This point is usually the address of the first executable instruction in<br />

the program, as shown in the following sequence:<br />

NAME CSECT<br />

AREA DS 5F<br />

BEGIN BALR 2,<br />

USING ,2<br />

.<br />

.<br />

.<br />

END<br />

BEGIN<br />

If specified, expression may be generated by substitution into variable symbols.<br />

It must be a simply relocatable expression representing an address in the<br />

source module delimited by the END instruction, or<br />

If it contains an external symbol, the external symbol must be the only term<br />

in the expression, or the remaining terms in the expression must reduce to<br />

zero.<br />

It must not be a literal.<br />

language<br />

a marker for use by language translators that produce assembly code. The<br />

operand has three sub-operands. The values in this operand are copied into<br />

the END record in the object deck.<br />

The syntax of this operand is<br />

(char1,char4,char5)<br />

where all three sub-operands, and the commas and parentheses are required.<br />

char1 is a one to ten character code. It is intended to be a language translator<br />

identifier. char4 must be exactly four characters long. It is intended to be a<br />

version and release code. char5 must be exactly five characters long, and<br />

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