The following block of data is stored in the memory location from 2050H to 2055H. Write an 8085 assembly language program to transfer the data to the location 2080H to 2085H in the  reverse order. Data (H) 25, A5, 4F, E3, AF, F1



  • Flow chart



  • Program

Line

Program

PC

Byte

0

-

0000

-

1

MVI C 07

0002

2

2

LXI H 2050

0005

3

3

LXI D 2085

0008

3

4

L2:DCR C

0009

1

5

JZ L1

0013/000C

3

6

MOV A M

000D

1

7

STAX D

000E

1

8

INX H

000F

1

9

DCX D

0010

1

10

JMP L2

0008/0013

3

11

L1:HLT

 

1