Chapter-4 4.3
Chapter-4 4.3
Wagh Polytechnic,
Nashik
Program:- Information Technology Semester:- III
Subject:- Data Techniques & Microprocessor Course Code:- 313305
Unit – IV
Basic assembly Language
Programming using 8086
(16 Marks)
Topic:
4.3 Format of instruction, instruction set: data transfer, arithmetic, logical,
branch and loop, flag manipulation
e.g.:
PUSH Operand:
•It pushes the operand into top of stack.
e.g.:
e.g.:
e.g.:
DEC Src:
•It decrements the byte or word by one.
•The operand can be a register or memory location.
e.g.:
e.g. :
IMUL Src:
•It is a signed multiplication instruction.
IDIV Src:
It is a signed division instruction.
Presented by: Mr. R. J. Shinde, Information Technology Dept.
DAA (Decimal Adjust after Addition)
• It only works on AL register.
• This instruction must be used after the ADD/ADC instruction.
• The ADD/ADC instruction adds the two BCD number in hexadecimal
format and DAA instruction convert this hexadecimal result into BCD
result.
e.g.:
e.g.:
e.g.:
e.g.:
e.g.:
Instruction Definition/Meaning
Branching Instruction that transfers the flow of
Branching Instructions execution onto certain conditions or unconditional
transfers to the part of the program.