Instruction set of 8086-microprocessor, Assembly Language

Assignment Help:

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.

 


Related Discussions:- Instruction set of 8086-microprocessor

Write an assembly program to find out largest number, Program :  Write an...

Program :  Write an assembly program to find out the largest number from a given unordered array of 8-bit numbers that stored in the locations starting from a known address. S

8086, to separate positive and negative numbers

to separate positive and negative numbers

Adc-arithmetic instruction-microprocessor, ADC: Add with Carry:- This instr...

ADC: Add with Carry:- This instruction performs the similar operation a like ADD instruction, but adds the carry flag bit (which might be set as a result of the previous calculatio

Need algorithm for multiplication in assemby with out mul, need algorithm f...

need algorithm for multiplication in assembly with out mul function?

Write a mips assembly language program, Write a MIPS/SPIM assembly language...

Write a MIPS/SPIM assembly language program that prints the smallest and largest values found in a non-empty table of N word-sized integers. The address of the first entry in your

Machine coding the programs-microprocessor, Machine Coding the Programs ...

Machine Coding the Programs So far we have describe five programs which were  written  for hand coding  by a programmer. In this, we will now have a deep look at how these prog

Write a program, write a program that calculates the fibonacci series: exce...

write a program that calculates the fibonacci series: except for the first two numbers in the sequence

Cmps-string manipulation instruction-microprocessor, CMPS : Compare String...

CMPS : Compare String Byte or String Word:-The CMPS instruction may be utilized to compare two strings of Words or byte. The length of the string ought to be stored in the CX. If

8086, Ask(2) Write a program to mask bits D3D2D1D0 and to set bits D5D4 and...

Ask(2) Write a program to mask bits D3D2D1D0 and to set bits D5D4 and to invert bits D7D6 of the AX register question #Minimum 100 words accepted#

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd