Table of Contents Previous topic Next topic
ASSEMBLER DIRECTIVES->Other Assembler Directives->DATA
DATA Define Data Symbol Value
The DATA directive will define the symbol in the label field to have the value of the expression in the operand field. The value of the expression must be between 0 and 255.
Symbols defined by this directive can used where a data address is required in the instruction operand. (Symbols defined with EQU can also be used as data addresses providing their values are less than 255).
The symbol cannot subsequently be redefined.
Format:
<label> DATA <expression> <comment>