Question: Solve with steps 9. The following program is supposed to work with the memory block shown in the figure below. Trace it and find the
9. The following program is supposed to work with the memory block shown in the figure below. Trace it and find the values of the registers DL and DH. [4 marks] 82 83 04 85 86 MOV AX,1000H MOV DS, AX XOR AX, AX XOR BX, BX XOR DX, DX MOV SI, 0100H MOV CL, 10 MOV BL, 3 L1 : MOV AL, [SI] XOR AH, AH DIV BL CMP AH, 0 DE C1 NE C2 BACK: INC SI DEC CL NZ L1 HLT INC DL JMP BACK INC DH JMP BACK C1: C2: DL: Page 5 of 8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
