0
(0)

[PRACTICAL] IMPLEMENT A PROGRAM TO MOVE/COPY BLOCK OF MEMORY TO ANOTHER GIVEN LOCATION AND LENGTH OF BLOCK IS GIVEN IN SPECIFIC MEMORY LOCATION.

Are you looking for a step-by-step guide to Implement a program to move/copy block of memory to another given location and length of block is given in specific memory location? here are the steps to implement a program to move/copy block of memory to another given location and length of block is given in specific memory location.

Theory:

This program copy content of block of memory to another given location, Here C050h provide number of block to copy another location. Number of block copy from C050h to C060h.

Program:

LXI H,C050H
LXI D,C061H
MOV B,M
INX H
NEXT: MOV A,M
 STAX D
INX H
INX D
DCR B
JNZ NEXT
HLT

OUTPUT:

For more practical related to 885 Programming please visit the 8085 Programming link

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

As you found this post useful...

Share this post on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?