You are on page 1of 2

Experiment No.

03:
Familiarize with assembly language program containing arithmetic operations, execution of
the program in single step mode and verification of the results.

Program:

MOV AX, 0001H


ADD AX, 6789H
STC
ADC AX, 0488H
;
SUB AX, 156FH
STC
SBB AX, 080FH
;
MOV AX, 00FEH
INC AL
DEC AL
CBW
NEG AL
;
MOV AL, F0H
MOV BL, 11H
MUL BL
;
MOV AX, F000H
MOV BX, 1234H
IMUL BX
;
MOV AX, 00F0H
MOV BL, 10H
DIV BL
;
MOV AX, −205
MOV BL, 4
IDIV BL
;
HLT

After executing the program in single step mode, fill up the data table and verify the results.
Report:
1. Discuss the effect of each instruction/ mnemonics that is used in this program.

You might also like