HIGH


Obtains the second byte from the least significant byte of a term.

[Function]

Returns the value of bits 8 to 15 (the second byte from the least significant byte) among the 32 bits of a term.

[Application example]

MOV     A, #HIGH(0x1234)        ; (1)

(1)

By executing a MOV instruction, this operator loads the high-order 8-bit value "0x12" of the expression "0x1234" to A register.