hewlett-packard HP 9835A — 064

64 Assembly Language Fundamentals If the EJECT option was included in the IASSEMBLE statement which is assembling the module, then a form-feed character (ASCII character 148), is sent to the printer . If the EJECT option was not included, sufficient CR/LF pairs (ASCII characters 158 and 128) are sent to the printer to fill out the standard length of a listing page (plus three at the end of the page). Thus, if you already have printed 10 lines on a page, and an SKP instruction was encountered, the assembler sends (length -10 + 3) CR/ LF pairs. The SKP instruction is not required to cause pagination to occur when the standard length of a listing page is exceeded.

Thus, if you are working with a default length of 60 for your standard length, then each 60 lines from the last page break forces a new page break. Page Headings The heading for each listing page is - :··'·1 () IJ 1.....11... ... E:::::: {na me} where {name} is the name of the module currently being assembled. This heading can have additional information added to it through the HED pseudo-instruction. This instruction has the form- LJ {comment} When this instruction is encountered, and a listing is being generated, pagination immediately occur~, the same as with the SKP instruction (see above).

On the new page, and on all pages after it, the indicated {comment} appears after {name} in the heading, replacing any previous information specified by an earlier HED instruction. You can change the heading any number of times in a listing. This is frequently done in order to generate documentation by sections, even though all sections may reside in a single module. The heading appears on the page exactly the same as in {comment}, including the positioning of blanks, control characters, etc.