Keil Logo Arm Logo

A166 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 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, HIGH, WORDx

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

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.