z80:Directives:ENUM

From Learn @ Cemetech
Jump to: navigation, search

Declares an enumeration, a module containing a list of constants as labels.

Syntax

It is possible for two labels to have the same value. Any label without an expression or value is automatically one more than the previous label. An unlabeled first label defaults to zero.

   .enum name
       label [= expression],
       label [= expression]

See Also

endmodule