0% found this document useful (0 votes)
5 views3 pages

8086 Instruction Set Summary Hemangi

The document provides a comprehensive overview of the 8086 instruction set, categorized into nine main types: Data Transfer, Arithmetic, Logical, Branch, Loop, Machine Control, Flag Manipulation, Shift and Rotate, and String Instructions. Each category includes specific instructions along with their descriptions, detailing their functionality in data handling, arithmetic operations, logical processing, control flow, and string manipulation. This summary serves as a quick reference for understanding the capabilities and operations of the 8086 microprocessor.

Uploaded by

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

8086 Instruction Set Summary Hemangi

The document provides a comprehensive overview of the 8086 instruction set, categorized into nine main types: Data Transfer, Arithmetic, Logical, Branch, Loop, Machine Control, Flag Manipulation, Shift and Rotate, and String Instructions. Each category includes specific instructions along with their descriptions, detailing their functionality in data handling, arithmetic operations, logical processing, control flow, and string manipulation. This summary serves as a quick reference for understanding the capabilities and operations of the 8086 microprocessor.

Uploaded by

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

8086 Instruction Set Summary

1. Data Transfer Instructions


Used to transfer data between registers, memory, and I/O ports.
Instruction Description
MOV Copy data from source to destination
PUSH Push data onto the stack
POP Pop data from the stack
IN Input data from a port to accumulator
OUT Output data from accumulator to a port
XCHG Exchange data between two operands
LEA Load effective address
LDS Load pointer using DS
LES Load pointer using ES

2. Arithmetic Instructions
Used for performing arithmetic operations.
Instruction Description
ADD Add source to destination
ADC Add with carry
SUB Subtract source from destination
SBB Subtract with borrow
INC Increment operand by 1
DEC Decrement operand by 1
MUL Unsigned multiplication
IMUL Signed multiplication
DIV Unsigned division
IDIV Signed division
NEG Negate (2’s complement)
CMP Compare two operands

3. Logical Instructions
Perform logical operations.
Instruction Description
AND Logical AND
OR Logical OR
XOR Logical Exclusive OR
NOT Logical complement
TEST AND operation, but result not stored

4. Branch Instructions
Used for altering the flow of program execution.
Instruction Description
JMP Unconditional jump
JE/JZ Jump if equal / zero
JNE/JNZ Jump if not equal / not zero
JC Jump if carry
JNC Jump if no carry
JA Jump if above
JB Jump if below
CALL Call a procedure
RET Return from procedure
INT Interrupt
IRET Interrupt return

5. Loop Instructions
Used to repeat a sequence of instructions.
Instruction Description
LOOP Decrement CX and loop if CX != 0
LOOPE/LOOPZ Loop while equal / zero flag is set
LOOPNE/LOOPNZ Loop while not equal / zero flag not set

6. Machine Control Instructions


Control the operation of the processor.
Instruction Description
HLT Halt the processor
WAIT Wait until TEST pin is low
LOCK Lock the bus for the instruction
NOP No operation

7. Flag Manipulation Instructions


Used to set or clear flags.
Instruction Description
STC Set carry flag
CLC Clear carry flag
CMC Complement carry flag
STD Set direction flag
CLD Clear direction flag
STI Set interrupt flag
CLI Clear interrupt flag

8. Shift and Rotate Instructions


Used for bitwise shift and rotation.
Instruction Description
SHL/SAL Shift bits left
SHR Shift bits right (logical)
SAR Shift bits right (arithmetic)
ROL Rotate bits left
ROR Rotate bits right
RCL Rotate through carry left
RCR Rotate through carry right
9. String Instructions
Used for operations on strings.
Instruction Description
MOVSB/MOVSW Move string byte/word
LODSB/LODSW Load string byte/word
STOSB/STOSW Store string byte/word
SCASB/SCASW Scan string byte/word
CMPSB/CMPSW Compare string byte/word
REP Repeat prefix for string instructions
REPE/REPZ Repeat while equal / zero
REPNE/REPNZ Repeat while not equal / not zero

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