LD A,(nn)

Operation

A <- (nn)

Mnemonic

LD

Operands

A,(nn)

b7b6b5b4b3b2b1b0
0 0 1 1 1 0 1 0$3A
n
n

Description

The contents of the memory location specified by the operands nn are loaded to the Accumulator. The first n operand after the op code is the low-order byte of a 2-byte memory address.

Condition Bits Affected

None

Example

If nn contains $8832 and memory address $8832 contains byte $04, then upon the execution of

	LD	A,($8832)

the $04 byte is in the Accumulator.