z80:Directives:INCLABELS

From Learn @ Cemetech
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