DATA TRANSFER INSTRUCTIONS
Copy from source to destination
Move immediate 8-bit
Load accumulator indirect
B/D Reg. pair
Load register pair immediate
Reg. pair, 16-bit data
Load H and L registers direct
8085 Instruction Set
This instruction copies the contents of the source register into the destination register; the contents of the source register are not altered. If one of the operands is a memory location, its location is specified by the contents of the HL registers.
Example: MOV B, C or MOV B, M
The 8-bit data is stored in the destination register or memory. If the operand is a memory location, its location is specified by the contents of the HL registers.
Example: MVI B, 57 or MVI M, 57
The contents of a memory location, specified by a
16-bit address in the operand, are copied to the accumulator.
The contents of the source are not altered.
Example: LDA 2034 or LDA XYZ
The contents of the designated register pair point to a memory location. This instruction copies the contents of that memory location into the accumulator. The contents of either the register pair or the memory location are not altered.
Example: LDAX B
The instruction loads 16-bit data in the register pair designated in the operand.
Example: LXI H, 2034
The instruction copies the contents of the memory location pointed out by the 16-bit address into register L and copies the contents of the next memory location into register H. The contents of source memory locations are not altered.
Example: LHLD 2040
Store accumulator direct
Store accumulator indirect
Store H and L registers direct
Exchange H and L with D and E
The contents of the accumulator are copied