Download 8051 Cross Assembler User`s Manual

Transcript
40
Chap. 6: 8051 CROSS ASSEMBLER CONTROLS
TYPE:
Primary
EXAMPLES: $MOD51 $MOD52 $MOD44 $MOD515 $MOD512
$MOD152 $MOD451 $MOD452 $MOD751
$MOD752 $MOD154 $MOD252 $MOD521
$MOD552 $MOD652 $MOD517 $MOD851
$NOMOD
6.2.7 $OBJECT(le) and $NOOBJECT
These controls determine whether or not a standard Intel Hexadecimal format object le is
created. $NOOBJECT species that an object le will not be created. $OBJECT species
that an object le will be created. If other than the default name is to be used for the
object le, the $OBJECT control allows any legal le name to be specied as the object
lename. The default name used for the object le is the source le name root with a .HEX
extension.
CONTROL:
ABBREV:
DEFAULT:
TYPE:
EXAMPLES:
$OBJECT(file)
$NOOBJECT
$OJ(file)
$NOOJ
$OBJECT(source.HEX)
Primary
$OJ(A:NEWNAME.OBJ)
$NOOBJECT
6.2.8 $PAGING and $NOPAGING
These controls specify whether or not the output listing will be broken into pages or will
be output as one continuous listing. When the $NOPAGING control is used, the $EJECT
and $PAGELENGTH controls are ignored. With the $PAGING control, a form feed and
header line is inserted into the output listing whenever an $EJECT control is met, or
whenever the number of lines output on the current page exceeds the value specied by
the $PAGELENGTH control. The header line contains source le name, title (if $TITLE
control was used), date (if $DATE control was used) and page number.
CONTROL:
ABBREV:
DEFAULT:
TYPE:
EXAMPLES:
$PAGING
$NOPAGING
$PI
$NOPI
$PAGING
Primary
$PAGING
$NOPI
6.2.9 $PAGELENGTH(n)
Sets the maximum number of lines, (n), on a page of the output listing. If the maximum is
exceeded, a form feed and page header is inserted in the output listing. This control allows
the number of lines per page to be set anywhere between 10 and 255. If the number of lines
specied is less than 10, pagelength will be set to 10. If the number of lines specied is
greater than 255, pagelength will be set to 255.