24-Bit Constant Offset from X, Y, SP or PC (IDX3)

A 24-bit constant is added to X, Y, SP or PC to form the effective address of the operand.

Listing: Example - 24-Bit Constant Offset

main:
LD X,#$600

LD D6,($300,X)

LD Y,#$1000

ST D6,($140, Y)