can u help n explain 2 me to write 8085 instruction for this program?

Write 8085 ALP to convert the given binary number in a memory location X to the equivalent unpacked BCD numbers in three consecutive memory location