21 llen — set line length, Llen — set line length – Motorola HC12 User Manual
Page 187

Assembler Directives
LLEN — Set Line Length
MCUez HC12 Assembler
User’s Manual
MOTOROLA
Assembler Directives
187
8.21 LLEN — Set Line Length
Syntax:
LLEN
Description:
Sets the number of characters,
are included on the listing line. The values allowed for
in the range [0 – 132]. If a value smaller than 0 is specified, the
line length is set to 0. If a value bigger than 132 is specified, the
line length is set to 132.
Lines of the source file that exceed the specified number of
characters are truncated in the listing file.
Example:
This portion of code:
dc.b 5
llen $20
dc.w $4567, $2345
llen $17
dc.w $4567, $2345
even
nop
Generates this listing file:
Motorola HC12-Assembler
(c) COPYRIGHT MOTOROLA 1991-1997
Abs. Rel. Loc.
Obj. code Source line
---- ---- ------ --------- -----------
1
1
000000 05
dc.b 5
3
3
4
4
000001 4567 2345
dc.w $4567, $2345
5
5
7
7
000005 4567 2345
dc.w $4567
8
8
000009 00
even
9
9
00000A 9D
nop
10
10
The
LLEN $17
directive causes the second
dc.w $4567,
$2345
to be truncated in the assembler listing file. The
generated code is correct.