Free SubDomain Names PROCESSORS: Data transfer Instructions(8085)

Sunday, September 27, 2009

Data transfer Instructions(8085)

Data Transfer Instructions:

1) MOV r1,r2 (Move data;move the contents of one register to another ).
The contents of r2 register is moved to r1.This instruction doesn't affect any flags.
States: 4 Machine cycles :1.

2)MOV r,M (move the content of memory to register).
No Flags are affected after executing this instruction.Addressing modes is register indirect.
States: 7 Machine cycles :2.

3)MOV M,r (move the content of register to memory).
No Flags are affected after executing this instruction.Addressing modes is register indirect.
States: 7 Machine cycles :2.

4)MVI r,data(move immediate data to register).
No Flags are affected after executing this instruction.Addressing modes is immediate.
States: 7 Machine cycles :2.

5)MVI M,data(move immediate data to memory location).
No Flags are affected after executing this instruction.Addressing modes is immediate/register indirect.
States: 10 Machine cycles :3.

6)LXI rp,data16(Load register pair immediate).
This instruction loads immediate data of 16-bit into register pair rp.No Flags are affected after executing this instruction.Addressing modes is immediate.
States: 10 Machine cycles :3.

7)LDA addr(Load accumulator direct).
The content of the memory location specified in the instruction is stored into the accumulator.
No Flags are affected after executing this instruction.Addressing modes is direct.
States: 13 Machine cycles :4.

8)STA addr(Store accumulator direct).
The content of the memory location specified in the instruction is stored with the accumulator contents.No Flags are affected after executing this instruction.Addressing modes is direct.
States: 13 Machine cycles :4.


9)LHLD addr(Load H-L pair direct).
The content of memory location specified in the instruction is stored in the L register and the next memory location content is stored in the H register. No Flags are affected after executing this instruction.Addressing modes is direct.
States: 16 Machine cycles :5.

10)SHLD addr(Store H-L pair direct).
The content of memory location specified in the instruction is stored with the L register contents and the next memory location content is stored with the H register contents. No Flags are affected after executing this instruction.Addressing modes is direct.
States: 16 Machine cycles :5.

11)LDAX rp(LOAD accumulator direct).
The content of memory location,whose address is stored in the register pair is loaded into the accumulator.No Flags are affected after executing this instruction.Addressing modes is register indirect.
States: 7 Machine cycles :2.

12)STAX rp(LOAD accumulator direct).
The content of the accumulator is stored in the memory location,whose address is stored in the register pair.No Flags are affected after executing this instruction.Addressing modes is register indirect.
States: 7 Machine cycles :2.

13)XCHG(Exchange the contents of H-L with D-E pair).
The contents of H-L pair are exchanged with contents of D-E pair.No Flags are affected after executing this instruction.Addressing modes is register direct.
States: 4 Machine cycles :1.

These are the different data transfer instructions that are present in the 8085 microprocessor.

No comments:

Post a Comment

Followers

eXTReMe Tracker