Example Memory to Registers
Example: Write assembly language statement to copy data byte 36H stored at 2025 H to register B.
Solution : Assuming 2025 H is stored in register pair HL and 36 H and 36 stored at this location . the statement is
MOV B, M
Contents of the memory location pointed by HL register pair are copied to registers B.