Chapter 9 Writing Machine Language Instructions and Directive Statements
164 Writing Directive Statements
9.4.8 page
Syntax
label operation operand
page lines_expression [,columns_expression]
Default settings
Number of lines = 60
Number of columns = 132
Functional description
This directive specifies the number of lines and columns per page. At the line where the page directive
itself is specified the assembler will output a carriage return and apply the newly set values.
Operand coding rules
The expressions coded in the operand must result in the attribute abs (absolute). Refer to section 8.7.4,
"Expression Attributes", regarding attributes of expressions.
Specify the number of lines in the range 10 – 255. Specify the number of columns in the range 60 –
255.
If a value outside the allowable range is specified, the assembler will generate an error and ignore this
directive.
Usage example
Below is an example use of the page directive.
page 24, 80
page LINE_NO, COLUMN_NO