11.07.2015 Views

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

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

Create successful ePaper yourself

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

END instructionNotes:1. If the END instruction is omitted, one is generated by the assembler, andmessage ASMA140W END record missing is issued.2. <strong>Ref</strong>er to the note on page 337 about lookahead processing, and the effect it hason generated END statements.3. If the END statement is not the last statement in the input stream, and theBATCH option (see the section “BATCH” in the <strong>HLASM</strong> Programmer’s Guide)has been specified, the assembler will initiate assembly of a new source modulewhen the current assembly is completed.ENTRYinstruction||The ENTRY instruction identifies symbols defined in this source module as“external” so that they can be referred to by another source module. Thesesymbols are entry symbols.►►sequence_symbolENTRY ▼ ,entry_point►◄sequence_symbolis a sequence symbol.entry_pointis a relocatable symbol that:v Is a valid symbolv Is defined in an executable control sectionv Is not defined in a dummy control section, a common control section, or anexternal control sectionUp to 65535 individual control sections, external symbols, and external dummysections can be defined in a source module. However, the practical maximumnumber depends on the amount of table storage available to the program that linksthe object module.The assembler lists each entry symbol of a source module in an external symboldictionary, along with entries for external symbols, common control sections, parts,and external control sections.A symbol used as the name entry of a START or CSECT instruction is alsoautomatically considered an entry symbol, and does not have to be identified byan ENTRY instruction.||A symbol identified by an ENTRY instruction should not also be declared by anEXTRN instruction.The length attribute value of entry symbols is the same as the length attributevalue of the symbol at its point of definition.182 <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!