z80:Directives:INCLABELS

From Learn @ Cemetech
Revision as of 17:19, 5 February 2016 by Maintenance script (talk | contribs) (Initial automated import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Include a labels file to add labels quickly.

Syntax

   .inclabels "filename.ext"

Uses

This loads a file of labels. It partially compensates for a slow parser; it also reduces the size of include files significantly.

The file format is a list of label definitions, in the form \[label name length (in characters)]\[label name]\[page (ushort)]\[value (ushort)].

For example, the label fish, value $1234, would be:

.db 4, "fish", $34, $12, $00, $00.

See Also