Ax51 User's Guide

LOW Assembler Operator

Arguments
LOW operand
Description

The LOW operator returns the low-order byte of operand (a 16-bit operand is assumed). The operand must either be absolute or a constant defined as extrn name:NUMBER . 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.

MSB32-bit operandLSB
BYTE3BYTE2BYTE1BYTE0
WORD2WORD0
HIGHLOW
See Also

BYTEx, HIGH, WORDx

Example
MOV     R0,#LOW 1234h   ; R0=34h