Up until now, we have seen programs in which we copy the content of the memory location in either the accumulator or in any GPR.
But this time we are going to do the opposite. In this 8085 program, we are going to store the content of accumulator in any ML.
So the first thing which we will need to do this store an 8-bit into the accumulator and then we will move that the content of accumulator in a memory location.
Let the 8-bit data be DBH, and the memory location be 2000H, which means we will begin our program execution from 2001H location.
MVI A, DBH
|Memory Location||OPCODE||Operand||Label||Hex Code|