Don Bosco Institute of Technology
Department of Information Technology
Class:SE
Semester 4
Name: Mohammad Zaid Ansari
Roll No: 03
Aim: Arithmetic operation using EMU8086
write a program to perform
addition of 2 16 bit numbers
subtraction of 2 16bit numbers
multiplication of 2 16 bit numbers
16/8 division
Theory
Describe with examples
any 5 data transfer instruction of 8086
Opcode Operand Description
Used to copy the byte or word from the provided source to the provided
MOV D,S
destination.
PUSH D Used to put a word at the top of the stack.
POP D Used to get a word from the top of the stack to the provided location.
IN D,S Used to read a byte or word from the provided port to the accumulator.
OUT D,S Used to send out a byte or word from the accumulator to the provided port.
any 5 arithmetic instructions of 8086
Opcode Operand Description
ADD D,S Used to add the provided byte to byte/word to word.
SUB D,S Used to subtract the byte from byte/word from word.
INC D Used to increment the provided byte/word by 1.
MUL 8-bit reg Used to multiply unsigned byte by byte/word by word.
Used to divide the unsigned word by byte or unsigned double word by
DAA 8-bit reg
word.
Output
screenshots of
addition:
subtraction:
multiplication:
division: