Question: 5. Open a new DEBUG session 6. Assemble (-A) the list of the following instructions beginning at offset 0100 . (a) MOV DL, A7 (b)
5. Open a new DEBUG session
6. Assemble (-A) the list of the following instructions beginning at offset 0100.
(a) MOV DL, A7
(b) MOV DX, 1A05
(c) MOV BX, DX
(d) MOV AX, [020A] (e) MOV CX, [BX]
(f) MOV AX, [SI+8]
(g) ADD AL, CL
(h) DEC DL
7. Use the unassemble command beginning at offset 0100 (U 0100) to find the offset addresses where each of the instructions are stored and enter them in the first field below:[Hint: see the red sample entry for (a) and leave the second field empty for now]
Also save a screenshot of this to submit with your lab writeup.
(a) __0100__ MOV DL, A7 _______________
(b) ________ MOV DX, 1A05 _______________
(c) ________ MOV BX, DX _______________
(d) ________ MOV AX, [020A] _______________
(e) ________ MOV CX, [BX] _______________
(f) ________ MOV AX, [SI+8] _______________
(g) ________ ADD AL, CL _______________
(h) ________ DEC DL _______________
At is the full logical address for the first instruction?
___________________________________________________________________
At what offset address is the last instruction stored?
___________________________________________________________________ At what address is the instruction DEC DL stored?
___________________________________________________________________
How many bytes long is the machine code for the instruction DEC DL?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
