You are on page 1of 2

Machine Language Coding and the debug Software Development of the PC

This task allows you to observe and test some assembly language instructions. You may
want to refer to YouTube such as: Learning the 80x86 through debug by Cheryl Schramm.
Objective: To run assembly language program using debug program or MASM (for this you
need to further explored and refer Chapter 3 for installation etc.), to examine and modify the
contents of memory and to explore some 8086/8088 instructions. Upon installation, you
need to:
1. Examine the current status of all the registers. Screenshot the registers values. What
command did you use?
R

2. Select three assembly language instructions and enter the command one at a time.
List the assembly language instructions that you chose.
SUB AX, BX
MOV CX, AX
MOV DX, 0

3. For each execution, state the changes expected or observe in Question 2.


Screenshot the output.
MOV AX, 12 – Register AX content change
MOV CL, 3 – Register CX content also change
SHL AX, CL – Register AX content change together with carry flag, parity flag
and also auxiliary flag
4. What command did you use to enter the assembly language instruction?
A

5. What command did you use to verify the changes?


T

6. Modify the content of AX into FF00. What command did you use to do this?
R AX

7. Can you see any changes after executing the command in Question 5? Screenshot
the output.

8. What is the current value of your DS: 100 to DS: 10F?

9. Fill the value DS: 100 to DS: 10F with FF. What is the values of those locations now?

10. What is the trace T command for?


Executes a single instructions and display results of all register and flags

You might also like