5.1.10 2-byte separation operators

The following 2-byte separation operators are available.

Operator

Overview

HIGHW

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

LOWW

Returns the low-order 16-bit value of a term

MIRHW

Obtains the higher-order 16 bits of the corresponding address in the mirror destination area when the value of the specified term is in the mirror source area

MIRLW

Obtains the lower-order 16 bits of the corresponding address in the mirror destination area when the value of the specified term is in the mirror source area

SMRLW

Adds an offset to the mirror destination to the address of a symbol, adds an integer value to the obtained value, and then obtains the value of the lower-order 16 bits among the 32-bit value of the result