Difference between revisions of "Z80:Directives:ENUM"

From Learn @ Cemetech
Jump to navigationJump to search
(Initial automated import)
 
(No difference)

Latest revision as of 17:41, 5 February 2016

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