Data transfer from one memory block to other memory block (8085)

No comments
Statement :  Transfer ten bytes of data from one memory to another memory block. Source memory block starts from memory location 2200H where as destination memory block starts from memory location 2300H

Source Program:

LXI  H, 4150  : Initialize memory pointer
MVI  B,  08    : count for 8-bit
MVI  A, 54
LOOP  :  RRC
JC  LOOP1
MVI  M,  00  :  Store zero it no carry
JMP  COMMON
LOOP2:  MVI  M,  01  : store one if there is a carry
COMMON :   INX  H
DCR  B        : check for carry
JNZ  LOOP
HLT       : Terminate the program

No comments :

Post a Comment

Subscribe

Milan Panda
Admin
About Me | Contact
Copyright 2023-2024 © Programming1011 . 🎀 Developed and Design By- Milan Panda. Happy Holi All Of You 🎀