Thursday, August 12, 2010

Instruction set of 8086.


          1.    Data transfer instructions :-


The various mneumonics used for data transfer instructions are MOV, XCHG, PUSH, POP, IN, OUT.

MOV – This instruction transfer data from one register or memory location to another register or memory locations.
PUSH – This pushes the contents of specified register or memory location on the stack.
POP – Reverse operation of PUSH ie POP from stack.
XCHG –It exchange the content of a register with the contents of any other register or
memmory location.

           2.    Arithmetic instructions:-

The mneumonics used for this instructions are ADD, ADC, SUB, SBB, INC, DEC, MUL, DIV, CMP etc …,

ADC – The constant of 2 registers are added and result is stored in registers of destination.
SUB – The constant of two registers are substracted.
ADC – The constant of registers and carry flag are added.
MUL – Multiplication and result stored in AX.
DIV – Division and result stored in AX.


0 comments:

Post a Comment

Copyright Disclaimer:

This site does not store any copyright contents on its server. If any, email us, we'll remove relevant links or contents immediately. email: smsumesh89@gmail.com
Twitter Delicious Facebook Digg Favorites More