Write an assembly language program to transfer N = ___ bytes of data from location A: _______h to location B: _______h. Let N = 05h, A: 30h B: 40h

ORG 0000H

MOV R3,#05H

MOV R0,#30H

MOV R1,#40H

BACK:MOV A,@R0

MOV @R1,A

INC R0

INC R1

DJNZ R3,BACK

END


Comments

Popular posts from this blog

Foil type strain gauge

Working of hair hygrometer.