0% found this document useful (0 votes)
10 views5 pages

8086 Instruction Set

The document outlines the instruction set of the 8086 microprocessor, classifying instructions into six main groups: Data Transfer, Arithmetic, Bit Manipulation, String, Program Execution Transfer, and Process Control. Each category is further detailed with specific instructions and their purposes, including examples. The document serves as a comprehensive guide for understanding and utilizing the 8086 instruction set.

Uploaded by

Ranju samanta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views5 pages

8086 Instruction Set

The document outlines the instruction set of the 8086 microprocessor, classifying instructions into six main groups: Data Transfer, Arithmetic, Bit Manipulation, String, Program Execution Transfer, and Process Control. Each category is further detailed with specific instructions and their purposes, including examples. The document serves as a comprehensive guide for understanding and utilizing the 8086 instruction set.

Uploaded by

Ranju samanta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Instruction Set of 8086 2020

Instruction Set of 8086

Content:

Classification of 8086 Instruction set


Complete 8086 Instruction set with clear Explanation and sample Programs

8086 Instruction Set and its Classification


The instructions of 8086 are classified into SIX groups. They are:

1. DATA TRANSFER INSTRUCTIONS


2. ARITHMETIC INSTRUCTIONS
3. BIT MANIPULATION INSTRUCTIONS
4. STRING INSTRUCTIONS
5. PROGRAM EXECUTION TRANSFER INSTRUCTIONS
6. PROCESS CONTROL INSTRUCTIONS

1.DATA TRANSFER INSTRUCTIONS

The DATA TRANSFER INSTRUCTIONS are those, which transfers the DATA from
any one source to any one destination.The datas may be of any type. They are again
classified into four groups.They are:

GENERAL – PURPOSE SIMPLE INPUT AND SPECIAL ADDRESS FLAG


BYTE OR WORD OUTPUT PORT TRANSFER TRANSFER
TRANSFER INSTRUCTIONS TRANSFER INSTRUCTION INSTRUCTIONS
INSTRUCTION
MOV LEA LAHF
PUSH LDS SAHF
POP IN LES PUSHF
XCHG OUT POPF
XLAT

Prof. S. Maiti Page 1


Instruction Set of 8086 2020

2.ARITHMETIC INSTRUCTIONS

These instructions are those which are useful to perform Arithmetic calculations, such as
addition, subtraction, multiplication and division.They are again classified into four
groups.They are:

ADDITION SUBTRACTION MULTIPLICATION DIVISION


INSTRUCTIONS INSTRUCTIONS INSTRUCTIONS INSTRUCTIONS
ADD SUB MUL DIV
ADC SBB IMUL IDIV
INC DEC AAM AAD
AAA NEG CBW
DAA CMP CWD
AAS
DAS

3.BIT MANIPULATION INSTRUCTIONS

These instructions are used to perform Bit wise operations.

LOGICAL INSTRUCTIONS SHIFT INSTRUCTIONS ROTATE INSTRUCTIONS


NOT SHL / SAL ROL
AND SHR ROR
OR SAR RCL
XOR RCR
TEST

4. STRING INSTRUCTIONS

The string instructions function easily on blocks of memory.They are user friendly
instructions, which help for easy program writing and execution. They can speed up the
manipulating code.They are useful in array handling, tables and records.

STRING INSTRUCTIONS
REP
REPE / REPZ
REPNE / REPNZ
MOVS / MOVSB / MOVSW
COMPS / COMPSB /
COMPSW
SCAS / SCASB / SCASW

Prof. S. Maiti Page 2


Instruction Set of 8086 2020

LODS / LODSB / LODSW


STOS / STOSB / STOSW

5.PROGRAM EXECUTION TRANSFER INSTRUCTIONS

These instructions transfer the program control from one address to other address. ( Not
in a sequence). They are again classified into four groups.They are:

UNCONDITIONAL CONDITIONAL ITERATION CONTROL INTERRUPT


TRANSFER TRANSFER INSTRUCTIONS INSTRUCTIONS
INSTRUCTIONS INSTRUCTIONS
CALL JA / JNBE JLE / JNG LOOP INT
RET JAE / JNB JNC LOOPE / LOOPZ INTO
JMP JB / JNAE JNE / JNZ LOOPNE / LOOPNZ IRET
JBE / JNA JNO JCXZ
JC JNP / JPO
JE / JZ JNS
JG / JNLE JO
JGE / JNL
JL / JNGE JP / JPE
JS

6.PROCESS CONTROL INSTRUCTIONS

These instructions are used to change the process of the Microprocessor. They change the
process with the stored information. They are again classified into Two groups.They are:

FLAG SET / CLEAR EXTERNAL HARDWARE


INSTRUCTIONS SYNCHRONIZATION
INSTRUCTIONS
STC HLT
CLC WAIT
CMC ESC
STD LOCK
CLD NOP
STI
CLI

Prof. S. Maiti Page 3


Instruction Set of 8086 2020

DATA TRANSFER INSTRUCTIONS

GENERAL – PURPOSE SIMPLE INPUT AND SPECIAL ADDRESS FLAG TRANSFER


BYTE OR WORD OUTPUT PORT TRANSFER INSTRUCTIONS
TRANSFER TRANSFER INSTRUCTION
INSTRUCTIONS INSTRUCTION
MOV LEA LAHF
PUSH LDS SAHF
POP IN LES PUSHF
XCHG OUT POPF
XLAT/XLATB

ARITHMETIC INSTRUCTIONS

ADDITION SUBTRACTION MULTIPLICATION DIVISION


INSTRUCTIONS INSTRUCTIONS INSTRUCTIONS INSTRUCTIONS
ADD SUB MUL DIV
ADC SBB IMUL IDIV
INC DEC AAM AAD
AAA NEG CBW
DAA CMP CWD
AAS
DAS

BIT MANIPULATION INSTRUCTIONS

LOGICAL INSTRUCTIONS SHIFT INSTRUCTIONS ROTATE INSTRUCTIONS


NOT SHL / SAL ROL
AND SHR ROR
OR SAR RCL
XOR RCR
TEST

Prof. S. Maiti Page 4


Instruction Set of 8086 2020
STRING INSTRUCTIONS

STRING INSTRUCTIONS
REP
REPE / REPZ
REPNE / REPNZ
MOVS / MOVSB / MOVSW
COMPS / COMPSB /
COMPSW
SCAS / SCASB / SCASW
LODS / LODSB / LODSW
STOS / STOSB / STOSW

PROGRAM EXECUTION TRANSFER INSTRUCTIONS

UNCONDITIONAL CONDITIONAL ITERATION CONTROL INTERRUPT


TRANSFER TRANSFER INSTRUCTIONS INSTRUCTIONS
INSTRUCTIONS INSTRUCTIONS
CALL JA / JNBE JLE / JNG LOOP INT
RET JAE / JNB JNC LOOPE / LOOPZ INTO
JMP JB / JNAE JNE / JNZ LOOPNE / LOOPNZ IRET
JBE / JNA JNO JCXZ
JC JNP / JPO
JE / JZ JNS
JG / JNLE JO
JGE / JNL
JL / JNGE JP / JPE
JS

PROCESS CONTROL INSTRUCTIONS

FLAG SET / CLEAR EXTERNAL HARDWARE


INSTRUCTIONS SYNCHRONIZATION
INSTRUCTIONS
STC HLT
CLC WAIT
CMC ESC
STD LOCK
CLD NOP
STI
CLI

Prof. S. Maiti Page 5

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy