Motorola HC12 User Manual

Page of 328
Assembler Directives
PLEN — Set Page Length
MCUez HC12 Assembler
User’s Manual
MOTOROLA
Assembler Directives
197
8.31  PLEN — Set Page Length
Syntax:
PLEN
 <n>
Description:
Sets the page length to <n> lines. <n> may range from 10 to
10,000. If the number of lines already listed on the current page
is greater than or equal to <n>, listing will continue on the next
page with the new page length setting. The default page length
is 65 lines.
8.32  SECTION — Declare Relocatable Section
Syntax:
<name>:
SECTION [SHORT]
[<number>]
Description:
This directive declares a relocatable section and initializes the
location counter for the following code. The first
SECTION
directive for a section sets the location counter to 0. Subsequent
SECTION
 directives for that section restore the location
counter to the value that follows the address of the last code in
the section.
<name> is the name assigned to the section. Two
SECTION
directives, where the same name is specified, refer to the same
section.
<number> is optional and only specified for compatibility with
the MASM assembler.
A section is a code section if it contains at least an assembly
instruction. It is considered to be a constant section if it
contains only
DC
or
DCB
directives. A section is considered to
be a data section if it contains at least a
DS
 directive or if it is
empty.