LOW operator

The LOW operator is LOW.

Syntax
  LOW Byte: LOW(<operand>)

  
Description

This operator returns the low byte of the address of a memory location.

Example

Assume data1 is a word located at address $1050 in the memory.

  LDA #LOW(data1)

  

This instruction will load the immediate value of the lower byte of the address of data1 ( $50) in register A.

  LDA LOW(data1)
  
  

This instruction will load the direct value at memory location of the lower byte of the address of data1 (i.e., the value in memory location $50) in register A.