Instruction set of 8086-microprocessor, Assembly Language

Instruction set of 8086 :

The 8086/8088 instructions are categorized into the following major types. This section describes the function of each of the instructions with appropriate examples wherever necessary.

(i) Data Copy/Transfer Instructions: This  type of instructions are utilized to transfer data from source operand  to destination operand. All the store, load, move, exchange output and input instructions belong to this category.

(ii) Arithmetic and Logical Instructions: All the instructions performing, logical, arithmetic, decrement, increment, compares and scan instructions belong to this category.

(iii) Branch Instructions: These instructions transfer control of execution to the decided address. All the call, interrupt, jump and return instructions belong to this class.

(iv) Loop Instructions: If these instructions contain REP prefix with CX used as county register, they can be utilized to implement conditional   and unconditional   loops. The LOOPNZ, LOOP and LOOPZ instructions belong to this category. These are useful to implement different type of loop structures.

(v) Machine Control Instructions: These instructions control the machine status. HLT, WAIT LOCK and NOP, instructions belong to this class.

(vi) Flag Manipulation Instructions: All the instructions which directly affect the flag register they come under this group of instructions.  Instructions like STD, CLD, STI, CLI etc.  Belong to this category of instructions.

(vii) Shift  and  Rotate  Instructions: These  instructions  involve  the rotation and bitwise shifting in either direction with or without a count in CX.

(viii) String Instructions: These instructions involve various string manipulation operations like  move, scan, load, store ,compare,  etc. These instructions are just to be operated upon the strings.

 

Posted Date: 10/11/2012 12:37:25 AM | Location : United States







Related Discussions:- Instruction set of 8086-microprocessor, Assignment Help, Ask Question on Instruction set of 8086-microprocessor, Get Answer, Expert's Help, Instruction set of 8086-microprocessor Discussions

Write discussion on Instruction set of 8086-microprocessor
Your posts are moderated
Related Questions
You will need to upload your main.c and factorial.s files and a .jpg photo of the output on your board using the Vista assignment upload features.  It must be submitted by the dead

Internal Hardware-Interrupts Internal hardware-interrupts are the outcome of sure situations that occur during the execution of a program, for example. Divide by 0. The interru

) What is the difference between re-locatable program and re-locatable data?


Programming with an assembler The procedure of hand-coding 8086 programs is somewhat tiresome; hence generally a programmer may find it hard to get a correct listing of the mac

SEG : Segment of a Label:- The SEG operator is which is used to decide the segment address of the, variable, label or procedure and substitutes the segment base address in plac

2. Write a program to separate out positive and negative numbers from a given series of 16-bit hexadecimal numbers.

check the al-register for palindromic number

You have been hired by the Elbonian government to write an Assembly program to help its workforce determine how much their tax will be. The tax laws in Elbonian are very simple. Th

i have trying to do the homework but there is a mistake. (Counting positive and negative numbers and computing the average of numbers) write a program that reads an unspecified nu