You are on page 1of 3

8085 MICROPROCESSOR 2012

MOVE INSTRUCTION

1. Write a program to send 8 bit number 45h into Accumulator. MVI A, 45H 2. Write a program to send 8 bit number 46h into B register. MVI B, 46H 3. Write a program to send 8 bit number 47h into C register. MVI C, 47H 4. Write a program to send the 8 bit number 48h into D register. MVI D, 48H 5. Write a program to send the 8 bit number 49h into E register. 6. Write a program to send the 8 bit number 50h into H register. 7. Write a program to send the 8 bit number 51h into L register. 8. Write a program to copy the content of reg A into B. 9. Write a program to copy the content of reg B into A. 10. Write a program to copy the content of reg C into D. 11. Write a program to copy the content of reg H into B. 12. Write a program to copy the content of reg A into L. 13. Write a program to copy the content of reg L into B. 14. Write a program to copy the content of reg D into B. 15. Write a program to copy the content of reg A FROM H. 16. Write a program to send the 8 bit number into reg H and copy the content of reg H into Acc. MVI H,45H MOV A,H 17. Write a program to send the two 8 bit numbers into reg H and L and copy the content of reg H and L into B and C reg respectively. 18. Write a program to send the two 8 bit numbers into reg D and E and copy the content of reg D and E into B and C reg respectively. MVI D,56H MVI E,45H MOV B,D MOV C,E HLT

SURDIP A. CHAUDHARY. LECTURER AT SWAMI SACHCHIDANAND POLYTECHNIC COLLEGE.

8085 MICROPROCESSOR 2012


19. Write a program to send the two 8 bit numbers into reg A and L and copy the content of reg A and L into D and C reg respectively. 20. Write a program to send the two 8 bit numbers into reg C and D and copy the content of reg C and D into H and A reg respectively. 21. Write a program to load the content of memory location 5040h into C reg. MVI H,50H MVI L,40H MOV C,M 22. Write a program to load the content of memory location 1230h into D reg. 23. Write a program to save the content of reg A into memory location 4569h. MVI H,45H MVI L,69H MOV M,A 24. Write a program to save the content of reg D into memory location 1452h 25. Write a program to load the content of memory location 9875h into A reg. 26. Write a program to load the content of memory location 7854h and 7548h into reg A and D respectively. 27. Write a program to save the content of reg A and C into memory location 6586h and 9652 h respectively. 28. Write a program to save the content of reg D and E into memory location 2586h and 9642 h respectively. 29. Write a program to transfer the content of memory location 2542h into memory location 6556h. 30. Write a program to transfer the content of memory location 6585h into memory location 9630h. 31. Write a program to copy the content of memory location 5285h into memory location 3543h. 32. Write a program to exchange the content of reg A and B. 33. Write a program to exchange the content of reg C and B. 34. Write a program to exchange the content of reg C and D. 35. Write a program to exchange the content of reg H and A. 36. Write a program to exchange the content of reg L and B. 37. Write a program to exchange the content of memory location 8965h and 3512h. MVI H,89H MVI L,65H MOV A,M MVI H,35H MVI L,12H MOV B,M MOV M,A MVI H,89H
SURDIP A. CHAUDHARY. LECTURER AT SWAMI SACHCHIDANAND POLYTECHNIC COLLEGE.

8085 MICROPROCESSOR 2012


MVI L,65H MOV M,B HLT 38. Write a program to exchange the content of memory location 2502h and 2543h 39. Write a program to exchange the content of memory location 2243h and B reg. 40. Write a program to copy the content of reg A into B. And then load the 8 bit number 44h into Acc. And transfer the content of A into memory location 2040h. 41. Write a program to send 8 bit number into mem location 4555h

SURDIP A. CHAUDHARY. LECTURER AT SWAMI SACHCHIDANAND POLYTECHNIC COLLEGE.