Professional Documents
Culture Documents
ASSEMBLY LANGUAGE
LAB EXERCISE 1
STUDENT NO : _______________________
INSTRUCTIONS:
1. Give the content of the registers involved. Please refer to Assembly language
instructions command for MOV, XCHG, ADD, SUB, INC and DEC.
2. Execute the instructions manually first then check your answer using EMU8086
emulator. Show your work.
3. Save your file using this format: STUDENTNAME_ LAB EX1.PDF
NO INSTRUCTIONS AX BX
2. MOV AX, 62
MOV BX, 85
ADD AX, BX
ADD AX, 25
3. MOV AX, 32C4h
XCHG AX, BX
ADD AX, BX
ADD AX, 25
MOV BX , 40
SUB AX, BX
5. MOV AX, 70
MOV BX, 35
INC AX
SUB AX, BX
DEC BX
INC AX
7. MOV AX, 20
MOV BX, 5
MUL BX
MOV BX, 5
IMUL BX
9. MOV AX, 40
MOV BX, 2
DIV BX
MOV BX, 2
IDIV BX