Professional Documents
Culture Documents
EXP3
EXP3
EXP3
Experiment no. 3
Aim :
WAP in 8086 to perform addition, subtraction, multiplication and division of two 16-bit
numbers.
Software Used :
EMU 8086 Software
Flow Chart:
FOR ADDITION :
START
↓
st
TAKE 1 VALUE IN REGISTER AX
↓
TAKE 2nd VALUE IN REGISTER BX
↓
ADD BOTH THE REGISTERS VALUES
↓
STOP
FOR SUBTRATION :
START
↓
TAKE 1st VALUE IN REGISTER AX
↓
TAKE 2nd VALUE IN REGISTER BX
↓
SUB BOTH THE REGISTERS VALUES
↓
STOP
FOR MULTIPLICATION :
START
↓
st
TAKE 1 VALUE IN REGISTER AX
↓
TAKE 2nd VALUE IN REGISTER BX
↓
MUL BOTH THE REGISTERS VALUES
↓
STOP
FOR DIVISION :
START
↓
st
TAKE 1 VALUE IN REGISTER AX
↓
TAKE 2nd VALUE IN REGISTER BX
↓
DIV BOTH THE REGISTERS VALUES
↓
STOP
Program :
FOR ADDITION
FOR SUBTRACTION
FOR MULTIPLICATION
FOR DIVISION
SCREENSHOT :
RESULT – I have performed the addition, subtraction multiplication and division of two 16 -bit
numbers successfully.