Instruction set and assembly language programming of 8086

Arithmetic Instructions

These instructions are used to perform arithmetic operations like addition, subtraction, multiplication, division, etc. Following is the list of instructions under this group −

Bit Manipulation Instructions

These instructions are used to perform operations where data bits are involved, i.e. operations like logical, shift, etc. Following is the list of instructions under this group −

Data Transfer Instructions

These instructions are used to transfer the data from the source operand to the destination operand. Following are the list of instructions under this group −

Is assembly language a platform specific language?

Programmers can understand the assembly language
However
CPU cannot. CPU can directly understand Machine language. No need of compiler or assembler. Assembly language is a set of instructions which are the same irrespective of platform. Machine code differs platform to platform. The codes and instructions of assembly language can be memorized.

Iteration Control Instructions

These instructions are used to execute the given instructions for number of times. Following is the list of instructions under this group −.
1) LOOP− Used to loop a group of instructions until the condition satisfies, i.e., CX = 0.
2) LOOPE/LOOPZ− Used to loop a group of instructions till it satisfies ZF = 1 & CX = 0.
3) LOOPNE/LOOPNZ− Used to loop a .

Processor Control Instructions

These instructions are used to control the processor action by setting/resetting the flag values. Following are the instructions under this group −.
1) STC− Used to set carry flag CF to 1.
2) CLC− Used to clear/reset carry flag CF to 0.
3) CMC− Used to put complement at the state of carry flag CF.
4) STD− Used to set the direction flag DF to 1.
5) CLD−.

Program Execution Transfer Instructions

These instructions are used to transfer/branch the instructions during an execution. It includes the following instructions − Instructions to transfer the instruction during an execution without any condition −.
1) CALL− Used to call a procedure and save their return address to the stack.
2) RET− Used to return from the procedure to the main program.

String Instructions

String is a group of bytes/words and their memory is always allocated in a sequential order. Following is the list of instructions under this group −.
1) REP− Used to repeat the given instruction till CX ≠ 0.
2) REPE/REPZ− Used to repeat the given instruction until CX = 0 or zero flag ZF = 1.
3) REPNE/REPNZ− Used to repeat the given instruction unti.

What are addition instructions in 8086 microprocessor?

8086 microprocessor supports following types of addition instructions. Now lets discuss the details of Addition instructions with assembly code examples. This instruction adds the data of destination and source operand and stores the result in destination.

Type of computer instruction set

In computer engineering

An orthogonal instruction set is an instruction set architecture where all instruction types can use all addressing modes.It is orthogonal in the sense that the instruction type and the addressing mode vary independently.An orthogonal instruction set does not impose a limitation that requires a certain instruction to use a specific register so there is little overlapping of instruction functionality.


Categories

Instruction set and assembly language programming
Msp430 assembly language programming examples
Assembly language program for binary to ascii conversion
Assembly language program to convert binary to bcd in 8086
Assembly language program for 8 bit addition
Assembly language program to convert binary to bcd in 8085
Assembly language program for 16 bit addition
Assembly language program to convert binary to hexadecimal
Assembly language program for 8 bit multiplication
Assembly language program for 16 bit multiplication
Assembly language program to convert binary to decimal
64 bit assembly language programming pdf
Assembly language program to divide two 8 bit numbers
Assembly language program to display hello world
Assembly language program for division of two numbers in 8086
Assembly language program to divide 32-bit number by 16-bit number
In assembly language programming is difficult and debugging is
Different assembly programming language
Preprocessor directives in assembly language programming
Assembly language programming file