 | A166 User's Guide |  |
|
|
| HIGH Assembler Operator| Arguments |
HIGH operand
| | Description | The HIGH operator returns the high-order byte of operand (a 16-bit operand is assumed). The operand must either be absolute or a constant defined as extern name:DATAn . Other types of relocatable operands are not allowed. 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 |
| | See Also | BYTEx, LOW, WORDx | | Example |
MOV R0,#HIGH 1234h ; R0=12h
|
|
|