HIGHW


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

[Function]

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

[Application example]

movea   HIGHW(0x12345678), R0, r10      ; (1)

(1)

By executing a movea instruction, this operator returns the high-order 16-bit value "0x1234" of the expression "0x12345678".
Therefore, (1) in the above example can also be described as: movea 0x1234, R0, r10.