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 language coding conventions││ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 10 │ ... │ 71 │ 72 │ 73 │ 74 │ 75 │ 76 │ ... │ 80 ││ │ │ │ │└──────────────────Statement Field──────────────────┴ │ ─┴─Identification-Sequence Field──┘Continuation-Indicator FieldFigure 2. Standard assembler coding formatField14 <strong>HLASM</strong>: <strong>V1R6</strong> <strong>Language</strong> <strong>Ref</strong>boundariesAssembler language statements usually occupy one 80-character record, or line. Forinformation about statements that occupy more than 80 characters, see“Continuation lines” on page 15. Each line is divided into three main fields:v Statement fieldv Continuation-indicator fieldv Identification-sequence fieldIf it can be printed, any character coded into any column of a line, or otherwiseentered as a position in a source statement, is reproduced in the listing printed bythe assembler. Whether it can be printed or not depends on the printer.Uppercase Printing: Use the FOLD assembler option to instruct the assembler toconvert lowercase alphabetic characters to uppercase alphabetic characters beforethey are printed.Statement fieldThe instructions and comment statements must be written in the statement field.The statement field starts in the begin column and ends in the end column. Thecontinuation-indicator field always lies in the column after the end column, unlessthe end column is column 80, in which case no continuation is possible. Theidentification-sequence field usually lies in the field after the continuation-indicatorfield. Any continuation lines needed must start in the continue column and end inthe end column.Blank lines are acceptable. For more information, see “Blank lines” on page 18.The assembler assumes the following standard values for these columns:v The begin column is column 1v The end column is column 71v The continue column is column 16These standard values can be changed by using the Input Format Control (ICTL)assembler instruction. The ICTL instruction can, for example, be used to reversethe order of the statement field and the identification-sequence field by changingthe standard begin, end, and continue columns. However, all references to thebegin, end, and continue columns in this manual refer to the standard valuesdescribed above.Continuation-indicator fieldThe continuation-indicator field occupies the column after the end column.Therefore, the standard position for this field is column 72. A non-space characterin this column indicates that the current statement is continued on the next line.This column must be a space character on the last (or only) line of a statement. If

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

Saved successfully!

Ooh no, something went wrong!