Table of Contents Previous topic Next topic
ASSEMBLER DIRECTIVES->Other Assembler Directives->BIT
BIT Define Bit Symbol Value
The BIT 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 a valid 8051 bit address or, if the 8052 option has been used, a valid 8052 bit address.
Symbols defined by this directive can used where a bit address is required in the instruction operand.
The symbol cannot subsequently be redefined.
Format:
<label> BIT <expression> <comment>