WAP to clear 10 bytes of data starting from 2050H

From Assembly Language Programming chapter in PU/ Microprocessor and Assembly Language Programming

Asked on 7 Feb, 2021

Like 0 Dislike 245 Views

Add a comment

1 Answers

arjun adhikari on 7 Feb, 2021 Like 0 Dislike

           MVI C, 0AH
           LXI H, 2050

clear:   MVI M, 00H
           INX H

           DCR C
           JNZ clear
           HLT

Add a comment


Add your answer