Example Register to Memory
Example : Write assembly language statement to copy 25H stored in register D to memory location 3052H.
Solution : Assuming 3050H is sorted in register pair HL and 25H is stored in register D the statement is
MOV M D
Content of register D are copied to memory location pointed by HL register pair.