Answer:
Data Transfer:
Flow Chart:
START
LOAD A with 8050H
LOAD B with 8085H
MOV C,A // Move the starting address of data block to C
MOV D,B // Move the starting address of new memory location to D
MVI A,00 // Initialize A to 0
BACK:
MOV A,M // Move the data byte from memory location pointed by C to A
STAX D // Store the data byte from A to memory location pointed by D
INX C // Increment C to point to next data byte
INX D // Increment D to point to next memory location
MVI A,00 // Initialize A to 0
CMP C // Compare C with 805FH
JNZ BACK // If C is not equal to 805FH, repeat the loop
STOP
Store the contents of register B into the memory location 8085H:
MOV A,B // Move the contents of register B to A
STAX 8085H // Store the contents of A to memory location 8085H
OR
STA 8085H // Store the contents of B to memory location 8085H