HIGHW


Returns the high-order 16-bit value of a term.

[Function]

Returns the value of the high-order 16 bits among the 32 bits of a term.

[Application example]

MOVW    AX, #HIGHW(0x12345678)          ; (1)

(1)

By executing a MOVW instruction, this operator loads the high-order 16-bit value "0x1234" of the expression "0x12345678" to AX register.