Assembly Language Fundamentals 63
• A blank line follows the heading .
• The text follows the blank line. The number of lines printed depends upon the LINES
option in the IASSEMBLE statement, the number of source lines encountered, and the
SKP pseudo-instructions which may be encountered while assembling the source. LINES
and SKP are described in the following sections .
• If the EJECT option is
not included in the IASSEMBLE statement, then a minimum of
three blank lines (carriage return/line feed, CR/LF, pairs) will be printed at the end of a
page. The number may exceed three if the number of source lines printed on a page is less
than the standard length for a listing page (see above).
Page Length
The length of the text in each page of your assembly listings can be specified through the
IASSEMBLE statement using the LINES option, which has the form -
L_ I
t···~E~=;
{numeric expression}
This option directs that any listing of the routines being assembled have pages of the length
indicated by {numeric expression}, which must be a positive value. This value becomes the
"standard length" of the listing pages, specifying the number of source lines to be printed on a
page during listings of the assembly source. It is not necessary that
thi~
value be the page length
of the printing device being used, though this is frequently the value selected.
If the option is omitted from the !ASSEMBLE statement, the value of 60 is assumed for page
length, giving an overall page size of 66 lines.
Printer control characters, such as line-feed and form-feed, in a comment can affect the actual
printing length of the pages independent of the length you specify. Thus, a page length of 60
could result in actually 61 lines if one of the comments in your ISOURCE statements contains a
line-feed character.
End-of-Page Control
At any time during the assembly of a module, you can force the listing to continue printing at
the top of the next physical page by including -
at the desired spot in the module. If a listing is being generated when this pseudo-instruction is
encountered in the source code, the printer is sent to top-of-form. This is physically done in one
of two ways-