 | A166 User's Guide |  |
|
|
| BIT Assembler Statement| Arguments |
symbol BIT address
| | Description | The BIT statement assigns an address to the specified symbol. The symbol may not be redefined. In addition, the BIT statement may create a bit name for the following bit-addressable items: | | Example |
DATA_SEG SEGMENT DATA BITADDRESSABLE
RSEG DATA_SEG ; Relocatable
; bit-addressable
; segment
BITS: DS 1 ; A 1-byte
; bit-addressable
; variable
ALARM BIT BITS.0 ; Bit 0 in BITS
D1_OPEN BIT ALARM+1 ; Bit 1 in BITS
D2_OPEN BIT ALARM+2 ; Bit 2 in BITS
P1_2 BIT 90h.2 ; SFR P1.2
|
|
|