The WORDx operators return the word of operand corresponding
to the position specified by x. For example, WORD0 returns the
least-significant word, WORD2 returns the next word, and so on. The
following table shows how the BYTEx, WORDx, HIGH,
and LOW controls work on a 32-bit value.
MSB
32-bit operand
LSB
BYTE3
BYTE2
BYTE1
BYTE0
WORD2
WORD0
HIGH
LOW
The operand must either be absolute or a constant defined as
extern :DATAn. Other types of relocatable operands are
not allowed.
Note
The WORD0, WORD2, WORD4, and WORD6 operators are
available with the A166 Assembler.
Note
This directive is available in the AX51 Assembler only.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.