To continue a statement on another line, follow these rules:
If an operand is continued after column 16, it is taken to be a comment. Also, if the continuation-indicator field is filled in on one line and you try to start a new statement after column 16 on the next line, this statement is taken as a comment belonging to the previous statement.
Specify the FLAG(CONT) assembler option to instruct the assembler to issue warning messages when it suspects a continuation error in a macro call instruction. Refer to the FLAG option description in the section "FLAG" in the HLASM Programmer's Guide for details about the situations that might be flagged as continuation errors.
Unless it is one of the statement types listed below, nine continuation lines are allowed for a single assembler language statement.
The alternative statement format, which allows as many continuation lines as are needed, can be used for the following instructions:
Examples of the alternative statement format for each of these instructions are given with the description of the individual instruction.
No special considerations apply to continuation:
A double-byte character string may be continued at any point, and SO and SI must be balanced within a field, but not within a statement line.
Where double-byte data is created by a workstation that has the capability of presenting DBCS characters, such as the IBM 5550 multistation, or where readability of double-byte data in High Level Assembler source input or listings is required, special features of the High Level Assembler language may be used. When the DBCS assembler option is specified, High Level Assembler provides the flexibility to cater for any combination of double-byte data and single-byte data. The special features provided are:
ASMA201W SO or SI in continuation column - no continuation assumed
The examples below show the use of these features. Refer to Double-byte character set notation for the notation used in the examples.
ASMA205E Extended continuation column must not extend into continue column
Examples:
Name Operation Operand Continuation
|
V
DBCS1 DC C'<D1D2D3D4D5D6D7D8D9>XXXXXXXXXXXXXXXXXXXX
<DaDb>'
DBCS2 DC C'abcdefghijklmnopqrstuvwxyz0123456789XXXX
<DaDb>'
DBCS3 DC C'abcdefghijklmnopqrstuv<D1D2D3D4D5D6D7>XX
<DaDb>'
<D1D2D3D4D5D6D7D8D9DaDb>
abcdefghijklmnopqrstuvwxyz0123456789<DaDb>
abcdefghijklmnopqrstuv<D1D2D3D4D5D6D7DaDb>
[ Top of Page | Previous Page | Next Page | Contents | Index ]