PAGE - Insert Page break

Syntax
PAGE

Synonym

None

Description

Insert a page break in the assembly listing.

Example

The portion of code in the following listing demonstrates the use of a page break in the assembler output listing.

Listing: Example assembly source code

code:   SECTION
        DC.B  $00,$12

        DC.B  $00,$34

        PAGE

        DC.B  $00,$56

        DC.B  $00,$78

The effect of the PAGE directive can be seen in the following listing.

Listing: Assembler Output

 Abs. Rel.   Loc    Obj. code   Source line
 ---- ----   ------ ---------   -----------

    1    1                      code:   SECTION

    2    2   000000 0012                DC.B  $00,$12

    3    3   000002 0034                DC.B  $00,$34

 Abs. Rel.   Loc    Obj. code   Source line

 ---- ----   ------ ---------   -----------

    5    5   000004 0056                DC.B    $00,$56

    6     6   000006 0078                DC.B    $00,$78