Table of Contents        Previous topic       Next topic       

ASSEMBLER DIRECTIVES->Other Assembler Directives->PAGE Paging Control

The PAGE directive allows you to control the page breaks of the assembly listing. Note that PAGE can have different meanings depending on whether or not it has an operand.  

PAGE <expression> - sets the number of lines per page to the value of expression.  Note that this option can only be used with page in the operation field and not in the command line or following the OPT directive.  The default lines per page is 66.   

PAGE - a page break is sent to the assembly listing.

Note that this latter form of PAGE cannot take any comments otherwise they will be mistaken for an expression and note that also the line containing the PAGE directive is not listed.  

Note that the assembly option PAGE included in the command line or in the operand following the OPT directive is different to the PAGE directive here.  The assembly option PAGE enables paged mode and is described in the section discussing assembly options.