First page Back Continue Last page Overview Graphics

Data Transfer Instructions: LDD


Notes:

Register D is made up of registers A & B. Register A is the most significant part of D and register B is the least significant part of D. Changing D can change both A and B and vice versa. Since register D is a 16-bit register, a two byte operand is required.

The instruction, LDD #$1058, loads a 10 hex into register A and a 58 hex into register B.

Some examples of opcodes that use immediate addressing are:
86 (LDAA)
C6 (LDAB)
CC ( LDD)