Everything

DATAPOS


Obtains the first term of a bit symbol.

[Function]

Obtains the first term of a bit symbol.

[Application example]

BITSYM  .EQU    0x0FE20.3
        MOVW    AX, #DATAPOS(BITSYM)    ; (1)

(1)

Execution of the MOVW instruction loads a value of 0xFE20 in the AX register.

[Caution]

No bit term (see "5.1.15 Bit position specifier") can be specified in the operand field.