SlideShare a Scribd company logo
INSTRUCTION SET OF
8085
Submitted by:-
Rahul Sahu
M.Sc.- Physics 1st
Sem
Guidance by:-
Mr. Goverdhan
Yadu
Synopsis:-
• Definition
• Classification
• Explain It’s Type with example
What is Instruction set ?
The entire group of instructions that a
microprocessor supports is called Instruction
Set. 8085 has 256 instructions. Each
instruction is represented by an 8-bit binary
value. These 8-bits of binary value is called Op-
Code or Instruction Byte.
Classification of Instruction
Set:-
1. Data Transfer Instruction
2. Arithmetic Instructions
3. Logical Instructions
4. Branching Instructions
5. Control Instructions
Data Transfer Instructions:-
These instructions move data between
registers, or between memory and registers .
This instructions is used to copy the data
from source to destination or one place to
another . While copying, the contents of
source are not modified.
Example
(1) MOV:- This instruction used to copy data .
• MOV Rd , Rs- This instruction copies the content
of Rs to Rd.
• MOV M , Rs- This instruction copies the content of
register Rs to memory location pointed by H-L
Pair.
Data Transfer Instructions:-
(2).MVI:- Move immediate data to a register or
memory location.
• MVI Rd , #30H- 30H is stored in Register Rd.
(3).LDA:- This instruction copies the data from a
given 16 bit address to the accumulator.(Load
Accumulator)
• LDA 3000H- Content of memory location 3000H is
copied in accumulator .
(4).LXI:- This instruction loads 16-bit data in the
register pair designated in the operand.
• LXI H , 2034H- 2034H is stored in H-L pair so
that it act as memory pointer.
Data Transfer Instructions:-
(5).STA:- The Content of accumulator are
copied into the memory location .
• STA 3000H- The content of the
accumulator is stored into the memory
location 3000H.
Arithmetic Instructions:-
Arithmetic Instructions are the
instructions which perform basic
arithmetic operations such as addition,
subtraction and a few more. In 8085
microprocessor, the destination operand is
generally the accumulator.
These instructions perform the operations
like:
 Addition
 Subtraction
 Increment
 Decrement
Arithmetic Instructions:-
Addition:- Any 8-bit number, or the contents of
register, or the contents of memory location can be
added to the contents of accumulator . The result
(sum) is stored in the accumulator. No two other
8-bit registers can be added directly.
Example
(6).ADD B- it adds the content of accumulator to
the content of the register B.
(7). ADD M- if content is stored in memory location
the it is added with the content stored in
accumulator.
(8). ADC R or M- Add register or memory to
accumulator with carry.
Arithmetic Instructions:-
Subtraction:- Any 8-bit number, or the contents of
register, or the contents of memory location can be
subtracted from the contents of accumulator. The
result is stored in the accumulator. Subtraction is
performed in 2’s complement form. If the result is
negative, it is stored in 2’s complement form.
Example
(9). SUB R or M- Subtract register or memory from
accumulator.
(10). SBB R or M-Subtract register or memory from
accumulator with borrow.
(11). SUI data - Subtract immediate from
accumulator.
Arithmetic Instructions:-
Increment and Decrement:-The 8-bit contents of a
register or a memory location can be incremented
or decremented by 1. The 16-bit contents of a
register pair can be incremented or decremented
by 1. Increment or decrement can be performed on
any register or a memory location.
Example
Increment
(12). INR R or M- Increment register or memory by1
(13). INX H- Increment register pair by 1.
Decrement
(14).DCR R or M-Decrement register or memory by1
(15). DCX H- Decrement register pair by 1.
Logical Instructions:-
These instructions perform logical
operations on data stored in registers,
memory and status flags .
The logical operations are:
 AND
 OR
 XOR
 Rotate
 Compare
 Complement
Logical Instructions:-
Example
(16). ANA R or M- Logical AND register or memory with
accumulator.
(17). ANI 86H(8 bit data)- Logical AND immediate with
accumulator.
(18). ORA R or M- Logical OR register or memory with
accumulator.
(19). ORI 86H(8 bit data)- Logical OR immediate with
accumulator.
(20). XRI 86H(8 bit data)- XOR immediate with
accumulator.
(21). RLC- Rotate accumulator left.
(22). RRC- Rotate accumulator right.
(23). CMP R or M- Compare register or memory with
accumulator.
(24). CMA- Complement accumulator.
Branching Instructions:-
The branching instruction alter the
normal sequential flow. These instructions
alter either unconditionally or
conditionally.
Example
(25).JMP 2034 H(16 bit address)- Jump
unconditionally.
(26). JZ 2034 H(16 bit address)- Jump
conditionally.
(27). CALL 2034 H(16 bit address)- Call
unconditionally.
(28). CZ 2034 H(16 bit address)- Call
conditionally.
Control Instructions:-
The control instructions control the
operation of microprocessor.
Example
(29). NOP- No operation is performed.
(30). HLT- The CPU finishes executing the
current instruction and halts any further
execution.
(31). DI- Disable interrupt.
(32). EI- Enable interrupt.
Instruction set of 8085 microprocessor

More Related Content

What's hot

Addressing modes of 8085
Addressing modes of 8085Addressing modes of 8085
Addressing modes of 8085
Syed Zaid Irshad
 
8086
80868086
Stack and subroutine
Stack and subroutineStack and subroutine
Stack and subroutine
Suchismita Paul
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
Poojith Chowdhary
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
abhikalmegh
 
Instruction set of 8085
Instruction set of 8085Instruction set of 8085
Memory interfacing of microprocessor 8085
Memory interfacing of microprocessor 8085Memory interfacing of microprocessor 8085
Memory interfacing of microprocessor 8085
Nilesh Bhaskarrao Bahadure
 
Lect 2 ARM processor architecture
Lect 2 ARM processor architectureLect 2 ARM processor architecture
Lect 2 ARM processor architecture
Dr.YNM
 
8085 addressing modes
8085 addressing modes8085 addressing modes
8085 addressing modes
Vijay Kumar
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
Mustapha Fatty
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
deval patel
 
8051 Addressing Modes
8051 Addressing Modes8051 Addressing Modes
8051 Addressing Modes
Senthil Kumar
 
8085 microprocessor architecture ppt
8085 microprocessor architecture ppt8085 microprocessor architecture ppt
8085 microprocessor architecture ppt
Parvesh Gautam
 
Timing diagram 8085 microprocessor
Timing diagram 8085 microprocessorTiming diagram 8085 microprocessor
Timing diagram 8085 microprocessor
Velalar College of Engineering and Technology
 
Control Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unitControl Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unit
abdosaidgkv
 
80386
8038680386
Logical instruction of 8085
Logical instruction of 8085Logical instruction of 8085
Logical instruction of 8085
vishalgohel12195
 
8096 microcontrollers notes
8096 microcontrollers notes8096 microcontrollers notes
8096 microcontrollers notes
Dr.YNM
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
ATTO RATHORE
 
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSORARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
RamaPrabha24
 

What's hot (20)

Addressing modes of 8085
Addressing modes of 8085Addressing modes of 8085
Addressing modes of 8085
 
8086
80868086
8086
 
Stack and subroutine
Stack and subroutineStack and subroutine
Stack and subroutine
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
 
Instruction set of 8085
Instruction set of 8085Instruction set of 8085
Instruction set of 8085
 
Memory interfacing of microprocessor 8085
Memory interfacing of microprocessor 8085Memory interfacing of microprocessor 8085
Memory interfacing of microprocessor 8085
 
Lect 2 ARM processor architecture
Lect 2 ARM processor architectureLect 2 ARM processor architecture
Lect 2 ARM processor architecture
 
8085 addressing modes
8085 addressing modes8085 addressing modes
8085 addressing modes
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
8051 Addressing Modes
8051 Addressing Modes8051 Addressing Modes
8051 Addressing Modes
 
8085 microprocessor architecture ppt
8085 microprocessor architecture ppt8085 microprocessor architecture ppt
8085 microprocessor architecture ppt
 
Timing diagram 8085 microprocessor
Timing diagram 8085 microprocessorTiming diagram 8085 microprocessor
Timing diagram 8085 microprocessor
 
Control Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unitControl Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unit
 
80386
8038680386
80386
 
Logical instruction of 8085
Logical instruction of 8085Logical instruction of 8085
Logical instruction of 8085
 
8096 microcontrollers notes
8096 microcontrollers notes8096 microcontrollers notes
8096 microcontrollers notes
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSORARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
ARITHMETIC OPERATIONS IN 8085 MICROPROCESSOR
 

Similar to Instruction set of 8085 microprocessor

8085 Instructions.pdf
8085 Instructions.pdf8085 Instructions.pdf
8085 Instructions.pdf
SaurabhPorwal14
 
itft-Instruction set-of-8085
itft-Instruction set-of-8085itft-Instruction set-of-8085
itft-Instruction set-of-8085
Shifali Sharma
 
Logical instruction of 8085
Logical instruction of 8085 Logical instruction of 8085
Logical instruction of 8085
Nemish Bhojani
 
Instruction set
Instruction setInstruction set
Instruction set
Mayank Bhatt
 
Instruction set 8085
Instruction set 8085Instruction set 8085
Instruction set 8085
varun sukheja
 
Types of instruction in 8085 microprocessor
Types of instruction in 8085 microprocessorTypes of instruction in 8085 microprocessor
Types of instruction in 8085 microprocessor
samarthpawar9890
 
instruction-set-of-8085 (1).ppt
instruction-set-of-8085 (1).pptinstruction-set-of-8085 (1).ppt
instruction-set-of-8085 (1).ppt
ssuserb448e2
 
Instruction set of 8085
Instruction set of 8085Instruction set of 8085
Instruction set of 8085
venkateshkannat
 
Instruction set-of-8085
Instruction set-of-8085Instruction set-of-8085
Instruction set-of-8085
saleForce
 
PPT 8085 microprocessor
PPT 8085 microprocessor PPT 8085 microprocessor
PPT 8085 microprocessor
Ardhendupanja
 
Assembly language i
Assembly language iAssembly language i
Assembly language i
Vivek Kumar
 
5th unit Microprocessor 8085
5th unit Microprocessor 80855th unit Microprocessor 8085
5th unit Microprocessor 8085
Mani Afranzio
 
Unit 2 Instruction set.pdf
Unit 2 Instruction set.pdfUnit 2 Instruction set.pdf
Unit 2 Instruction set.pdf
HimanshuPant41
 
8085_Microprocessor(simar).ppt
8085_Microprocessor(simar).ppt8085_Microprocessor(simar).ppt
8085_Microprocessor(simar).ppt
KanikaJindal9
 
microprocessor ppt (branching and logical instructions)
microprocessor ppt (branching and logical instructions)microprocessor ppt (branching and logical instructions)
microprocessor ppt (branching and logical instructions)
Nemish Bhojani
 
UNIT II.pptx
UNIT II.pptxUNIT II.pptx
UNIT II.pptx
ssuser47c811
 
8085 instruction-set part 1
8085 instruction-set part 18085 instruction-set part 1
8085 instruction-set part 1
RENUKASHIRBAVIKAR1
 
Microprocessor Basics CH-3
Microprocessor Basics CH-3Microprocessor Basics CH-3
Microprocessor Basics CH-3
Neelam Kapoor
 
Chapter 3 instruction set-of-8085
Chapter 3 instruction set-of-8085Chapter 3 instruction set-of-8085
Chapter 3 instruction set-of-8085
Shubham Singh
 
INTEL 8085 DATA FORMAT AND INSTRUCTIONS
INTEL 8085 DATA FORMAT AND INSTRUCTIONSINTEL 8085 DATA FORMAT AND INSTRUCTIONS
INTEL 8085 DATA FORMAT AND INSTRUCTIONS
Swapnil Mishra
 

Similar to Instruction set of 8085 microprocessor (20)

8085 Instructions.pdf
8085 Instructions.pdf8085 Instructions.pdf
8085 Instructions.pdf
 
itft-Instruction set-of-8085
itft-Instruction set-of-8085itft-Instruction set-of-8085
itft-Instruction set-of-8085
 
Logical instruction of 8085
Logical instruction of 8085 Logical instruction of 8085
Logical instruction of 8085
 
Instruction set
Instruction setInstruction set
Instruction set
 
Instruction set 8085
Instruction set 8085Instruction set 8085
Instruction set 8085
 
Types of instruction in 8085 microprocessor
Types of instruction in 8085 microprocessorTypes of instruction in 8085 microprocessor
Types of instruction in 8085 microprocessor
 
instruction-set-of-8085 (1).ppt
instruction-set-of-8085 (1).pptinstruction-set-of-8085 (1).ppt
instruction-set-of-8085 (1).ppt
 
Instruction set of 8085
Instruction set of 8085Instruction set of 8085
Instruction set of 8085
 
Instruction set-of-8085
Instruction set-of-8085Instruction set-of-8085
Instruction set-of-8085
 
PPT 8085 microprocessor
PPT 8085 microprocessor PPT 8085 microprocessor
PPT 8085 microprocessor
 
Assembly language i
Assembly language iAssembly language i
Assembly language i
 
5th unit Microprocessor 8085
5th unit Microprocessor 80855th unit Microprocessor 8085
5th unit Microprocessor 8085
 
Unit 2 Instruction set.pdf
Unit 2 Instruction set.pdfUnit 2 Instruction set.pdf
Unit 2 Instruction set.pdf
 
8085_Microprocessor(simar).ppt
8085_Microprocessor(simar).ppt8085_Microprocessor(simar).ppt
8085_Microprocessor(simar).ppt
 
microprocessor ppt (branching and logical instructions)
microprocessor ppt (branching and logical instructions)microprocessor ppt (branching and logical instructions)
microprocessor ppt (branching and logical instructions)
 
UNIT II.pptx
UNIT II.pptxUNIT II.pptx
UNIT II.pptx
 
8085 instruction-set part 1
8085 instruction-set part 18085 instruction-set part 1
8085 instruction-set part 1
 
Microprocessor Basics CH-3
Microprocessor Basics CH-3Microprocessor Basics CH-3
Microprocessor Basics CH-3
 
Chapter 3 instruction set-of-8085
Chapter 3 instruction set-of-8085Chapter 3 instruction set-of-8085
Chapter 3 instruction set-of-8085
 
INTEL 8085 DATA FORMAT AND INSTRUCTIONS
INTEL 8085 DATA FORMAT AND INSTRUCTIONSINTEL 8085 DATA FORMAT AND INSTRUCTIONS
INTEL 8085 DATA FORMAT AND INSTRUCTIONS
 

Recently uploaded

DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
Kavitha Krishnan
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 

Recently uploaded (20)

DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 

Instruction set of 8085 microprocessor

  • 1. INSTRUCTION SET OF 8085 Submitted by:- Rahul Sahu M.Sc.- Physics 1st Sem Guidance by:- Mr. Goverdhan Yadu
  • 2. Synopsis:- • Definition • Classification • Explain It’s Type with example
  • 3. What is Instruction set ? The entire group of instructions that a microprocessor supports is called Instruction Set. 8085 has 256 instructions. Each instruction is represented by an 8-bit binary value. These 8-bits of binary value is called Op- Code or Instruction Byte.
  • 4. Classification of Instruction Set:- 1. Data Transfer Instruction 2. Arithmetic Instructions 3. Logical Instructions 4. Branching Instructions 5. Control Instructions
  • 5. Data Transfer Instructions:- These instructions move data between registers, or between memory and registers . This instructions is used to copy the data from source to destination or one place to another . While copying, the contents of source are not modified. Example (1) MOV:- This instruction used to copy data . • MOV Rd , Rs- This instruction copies the content of Rs to Rd. • MOV M , Rs- This instruction copies the content of register Rs to memory location pointed by H-L Pair.
  • 6. Data Transfer Instructions:- (2).MVI:- Move immediate data to a register or memory location. • MVI Rd , #30H- 30H is stored in Register Rd. (3).LDA:- This instruction copies the data from a given 16 bit address to the accumulator.(Load Accumulator) • LDA 3000H- Content of memory location 3000H is copied in accumulator . (4).LXI:- This instruction loads 16-bit data in the register pair designated in the operand. • LXI H , 2034H- 2034H is stored in H-L pair so that it act as memory pointer.
  • 7. Data Transfer Instructions:- (5).STA:- The Content of accumulator are copied into the memory location . • STA 3000H- The content of the accumulator is stored into the memory location 3000H.
  • 8. Arithmetic Instructions:- Arithmetic Instructions are the instructions which perform basic arithmetic operations such as addition, subtraction and a few more. In 8085 microprocessor, the destination operand is generally the accumulator. These instructions perform the operations like:  Addition  Subtraction  Increment  Decrement
  • 9. Arithmetic Instructions:- Addition:- Any 8-bit number, or the contents of register, or the contents of memory location can be added to the contents of accumulator . The result (sum) is stored in the accumulator. No two other 8-bit registers can be added directly. Example (6).ADD B- it adds the content of accumulator to the content of the register B. (7). ADD M- if content is stored in memory location the it is added with the content stored in accumulator. (8). ADC R or M- Add register or memory to accumulator with carry.
  • 10. Arithmetic Instructions:- Subtraction:- Any 8-bit number, or the contents of register, or the contents of memory location can be subtracted from the contents of accumulator. The result is stored in the accumulator. Subtraction is performed in 2’s complement form. If the result is negative, it is stored in 2’s complement form. Example (9). SUB R or M- Subtract register or memory from accumulator. (10). SBB R or M-Subtract register or memory from accumulator with borrow. (11). SUI data - Subtract immediate from accumulator.
  • 11. Arithmetic Instructions:- Increment and Decrement:-The 8-bit contents of a register or a memory location can be incremented or decremented by 1. The 16-bit contents of a register pair can be incremented or decremented by 1. Increment or decrement can be performed on any register or a memory location. Example Increment (12). INR R or M- Increment register or memory by1 (13). INX H- Increment register pair by 1. Decrement (14).DCR R or M-Decrement register or memory by1 (15). DCX H- Decrement register pair by 1.
  • 12. Logical Instructions:- These instructions perform logical operations on data stored in registers, memory and status flags . The logical operations are:  AND  OR  XOR  Rotate  Compare  Complement
  • 13. Logical Instructions:- Example (16). ANA R or M- Logical AND register or memory with accumulator. (17). ANI 86H(8 bit data)- Logical AND immediate with accumulator. (18). ORA R or M- Logical OR register or memory with accumulator. (19). ORI 86H(8 bit data)- Logical OR immediate with accumulator. (20). XRI 86H(8 bit data)- XOR immediate with accumulator. (21). RLC- Rotate accumulator left. (22). RRC- Rotate accumulator right. (23). CMP R or M- Compare register or memory with accumulator. (24). CMA- Complement accumulator.
  • 14. Branching Instructions:- The branching instruction alter the normal sequential flow. These instructions alter either unconditionally or conditionally. Example (25).JMP 2034 H(16 bit address)- Jump unconditionally. (26). JZ 2034 H(16 bit address)- Jump conditionally. (27). CALL 2034 H(16 bit address)- Call unconditionally. (28). CZ 2034 H(16 bit address)- Call conditionally.
  • 15. Control Instructions:- The control instructions control the operation of microprocessor. Example (29). NOP- No operation is performed. (30). HLT- The CPU finishes executing the current instruction and halts any further execution. (31). DI- Disable interrupt. (32). EI- Enable interrupt.