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.

Assembler language coding conventionsthis column is not a space, the assembler treats the statement that follows on thenext line as a continuation line of the current statement.If the DBCS assembler option is specified, then:v When an SI is placed in the end column of a continued line, and an SO is placedin the continue column of the next line, the SI and SO are considered redundantand are removed from the statement before statement analysis is done.v An extended continuation-indicator provides the ability to extend the endcolumn to the left on a line-by-line basis, so that any alignment of double-bytedata in a source statement can be supported.v The double-byte delimiters SO and SI cannot be used as continuation-indicators.Identification-sequence fieldThe identification-sequence field can contain identification characters or sequencenumbers or both. If the ISEQ instruction has been specified to check this field, theassembler verifies whether or not the source statements are in the correct sequence.The columns checked by the ISEQ function are not restricted to columns 73through 80, or by the boundaries determined by any ICTL instruction. Thecolumns specified in the ISEQ instruction can be anywhere on the input statement,including columns that are occupied by the statement field.ContinuationlinesTo continue a statement on another line, follow these rules:1. Enter a non-space character in the continuation-indicator field (column 72). Thisnon-space character must not be part of the statement coding. When more thanone continuation line is needed, enter a non-space character in column 72 ofeach line that is to be continued.2. Continue the statement on the next line, starting in the continue column(column 16). Columns to the left of the continue column must be spaces.Comment statements may be continued after column 16.If an operand is continued after column 16, it is taken to be a comment. Also, if thecontinuation-indicator field is filled in on one line and you try to start a newstatement after column 16 on the next line, this statement is taken as a commentbelonging to the previous statement.Specify the FLAG(CONT) assembler option to instruct the assembler to issuewarning messages when it suspects a continuation error in a macro call instruction.<strong>Ref</strong>er to the FLAG option description in the section “FLAG” in the <strong>HLASM</strong>Programmer’s Guide for details about the situations that might be flagged ascontinuation errors.Unless it is one of the statement types listed below, nine continuation lines areallowed for a single assembler language statement.Alternative statement formatThe alternative statement format, which allows as many continuation lines as areneeded, can be used for the following instructions:v AGO conditional assembly statement, see “Alternative format for AGOinstruction” on page 387v AIF conditional assembly statement, see “Alternative format for AIF instruction”on page 385Chapter 2. Coding and structure 15

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

Saved successfully!

Ooh no, something went wrong!