Write a program to copy a block of 10 bytes of data from 35H to 60H

ORG 0000H

MOV R3,#0AH

MOV R0,#35H

MOV R1,#60H

BACK:MOV A,@R0

MOV @R1,A

INC R0

INC R1

DJNZ R3,BACK

END

 

Comments

Popular posts from this blog

Wire wound strain gauge

SemiConductor type strain gauge

Do an ALP to compare two eight bit numbers NUM1 and NUM2 stored in external memory locations 8000h and 8001h respectively. Reflect your result as: If NUM1NUM2, SET MSB of location 2FH (bit address 7FH). If NUM1 = NUM2, then Clear both LSB & MSB of bit addressable memory location 2FH.