SlideShare a Scribd company logo
1 of 19
4/13/2022 1
Dr.R.Senthil Kumar/ KSRCE
Instruction Format
of 8085
Instruction format
Instruction format is defined as - Instruction is the command
given by the user to the microprocessor and need to be get
executed by the processor the entire group of instruction are
called instruction set and for properly working , these instruction
sets are arranged in a proper way which is known as instruction
format. .
Instruction format of 8085 has two fundamental fields.
(i) Opcode (information of operation)
(ii) Operand (address of location)
Type of instruction:- There are following three types of
instructions formats used in microprocessor -
(I) 1-byte instruction
(II) 2-byte instruction
(III) 3-byte instruction
4/13/2022 2
Dr.R.Senthil Kumar/ KSRCE
Classification of Instruction Set
• Data Transfer Instruction
• Arithmetic Instructions
• Logical Instructions
• Branching Instructions
• Control Instructions
4/13/2022 3
Dr.R.Senthil Kumar/ KSRCE
1-byte instruction
A 1-byte instruction includes the opcode and a operand is
the same byte.
Example-1:
Task- Copy the contents of accumulator in register B.
Mnemonic- MOV B, A
Opcode- MOV
Operand- B, A
Hex Code- 47H
Binary code- 0100 0111
The length of these instructions is 8-bit; each requires one
memory location. The mnemonic is always followed by a
letter (or two letters) representing the registers (such as A,
B, C, D, E, H, L and SP).
4/13/2022 4
Dr.R.Senthil Kumar/ KSRCE
Two-byte instructions
Two-byte instruction is the type of instruction in which
the first 8 bits indicates the opcode and the next 8 bits
indicates the operand.
Example-1:
Task- Load the hexadecimal data 32H in the accumulator.
Mnemonic- MVI A, 32H
Opcode- MVI
Operand- A, 32H
Hex Code- 3E 32
Binary code- 0011 1110 0011 0010
Note – This type of instructions need two bytes to store
the binary codes. The mnemonic is always followed by 8-
bit (byte) data.
4/13/2022 5
Dr.R.Senthil Kumar/ KSRCE
3- byte instruction
Three-byte instruction is the type of instruction in which the first 8 bits
indicates the opcode and the next two bytes specify the 16-bit
address. The low-order address is represented in second byte and the
high-order address is represented in the third byte.
Example-1:
Task- Load contents of memory 2050H in the accumulator.
Mnemonic- LDA 2050H
Opcode- LDA
Operand- 2050H
Hex Code- 3A
50
20
Binary code- 0011 1010
0101 0000
0010 0000
4/13/2022 6
Dr.R.Senthil Kumar/ KSRCE
Note – These instructions would require three
memory locations to store the binary codes. The
mnemonic is always followed by 16-bit
4/13/2022 7
Dr.R.Senthil Kumar/ KSRCE
4/13/2022 8
Dr.R.Senthil Kumar/ KSRCE
Instruction Set of 8085 Microprocessor
An instruction is a binary command used to
execute an operation inside the microprocessor
over a given data.
A group of instructions that are supported by the
8085 microprocessor is known to be the instruction
set of 8085 microprocessor.
Basically, 8085 is designed to have 5 functional
categories of the instruction set.
4/13/2022 9
Dr.R.Senthil Kumar/ KSRCE
Instruction set of 8085 microprocessor
An instruction set is a group of instruction that
executes the desired operation on the data
specifically described by the microprocessor
8085.
4/13/2022 10
Dr.R.Senthil Kumar/ KSRCE
4/13/2022 11
Dr.R.Senthil Kumar/ KSRCE
Data Transfer Instruction
• These instructions are used by the
microprocessor in order to transfer the data
from one location to another.
• More specifically, it helps in transferring the data
from source operand to destination operand,
without making any changes in the source data.
• As the data present in the source is not
modified. Thus it is more convenient to call it a
data copy instruction.
• As while transferring the data from source to
destination, the data present in the source is just
copied to the destination also. Due to this no
change in source data is noticed.
4/13/2022 12
Dr.R.Senthil Kumar/ KSRCE
Basically, the instructions that come under this
instruction set, are as follows:
This instruction helps to transfer the contents of
register r2 into register r1. While the data in register
r2 will remain the same.
This instruction transfers the data in register B to an
accumulator.
This instruction specifies the transfer of data present in
the memory to the register. However, the address of
the memory location must be present in the HL
register.
4/13/2022 13
Dr.R.Senthil Kumar/ KSRCE
Arithmetic Instruction
This instruction set allows arithmetic operations to be
performed over the data in memory and register inside the 8085
microprocessor.
This instruction specifies that the data present in the register is
to be added with the data present in the accumulator and the
result is to be stored in the accumulator itself.
This instruction is used to add the data of the memory address
specified at the operand with the data present at the
accumulator. And the result of the addition is stored in the
accumulator.
4/13/2022 14
Dr.R.Senthil Kumar/ KSRCE
Logical Instruction
These instructions are used to perform logical or Boolean
operations over the data present in either register or
memory. The logical instructions modify the flag bits
according to the operation performed.
This instruction is used to compare the data at the
accumulator with the data present at the register or
memory which is given as operand. According to the result
obtained by the comparison, the flags are set. While the
data being compared remains unchanged.
4/13/2022 15
Dr.R.Senthil Kumar/ KSRCE
Branching Instruction
These instructions are used in order to switch
or transfer the control of the microprocessor
from one position to another. More specifically
we can say, it changes the general sequential
flow.
The branching instruction set is given below:
This instruction is used to transfer the present
program sequence to that memory location
whose 16-bit address is specified in operand of
the instruction.
4/13/2022 16
Dr.R.Senthil Kumar/ KSRCE
Branching Instruction
These instructions are used in order to switch
or transfer the control of the microprocessor
from one position to another. More specifically
we can say, it changes the general sequential
flow.
The branching instruction set is given below:
This instruction is used to transfer the present
program sequence to that memory location
whose 16-bit address is specified in operand of
the instruction.
4/13/2022 17
Dr.R.Senthil Kumar/ KSRCE
Control Instruction
As the name itself is suggesting that these
instructions are used to control the operations
of the microprocessor. The control instructions
are as follows
It stands for no operation. Whenever the
microprocessor fetches this instruction, then it
is decoded but not executed.
4/13/2022 18
Dr.R.Senthil Kumar/ KSRCE
Control Instruction
It is used to disable the interrupts generated in the
microprocessor. Resetting of interrupt enable flip-flop
is performed. This leads to disabling of all the
interrupts except TR
AP.
4/13/2022 19
Dr.R.Senthil Kumar/ KSRCE

More Related Content

What's hot

Addressing Modes
Addressing ModesAddressing Modes
Addressing ModesMayank Garg
 
Addressing modes
Addressing modesAddressing modes
Addressing modesAJAL A J
 
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086samirbharat77
 
Bca examination 2016 csa
Bca examination 2016 csaBca examination 2016 csa
Bca examination 2016 csaAnjaan Gajendra
 
Addressing mode of 8051
Addressing mode of 8051Addressing mode of 8051
Addressing mode of 8051Nitin Ahire
 
Addressing modes
Addressing modesAddressing modes
Addressing modesMukta Garg
 
Computer Architecture - Data Path & Pipeline Hazards
Computer Architecture - Data Path & Pipeline HazardsComputer Architecture - Data Path & Pipeline Hazards
Computer Architecture - Data Path & Pipeline HazardsThyagharajan K.K.
 
Addressing modes (detailed data path)
Addressing modes (detailed data path)Addressing modes (detailed data path)
Addressing modes (detailed data path)Mahesh Kumar Attri
 
Digital signal processing
Digital signal processingDigital signal processing
Digital signal processingPrabhu R
 
Addressing mode
Addressing modeAddressing mode
Addressing modeilakkiya
 
Datatransferandmanipulation 180214044522
Datatransferandmanipulation 180214044522Datatransferandmanipulation 180214044522
Datatransferandmanipulation 180214044522kirupasuchi1996
 
Hennchthree 161102111515
Hennchthree 161102111515Hennchthree 161102111515
Hennchthree 161102111515marangburu42
 
Unit 5 I/O organization
Unit 5   I/O organizationUnit 5   I/O organization
Unit 5 I/O organizationchidabdu
 

What's hot (20)

Addressing Modes
Addressing ModesAddressing Modes
Addressing Modes
 
addressing modes
addressing modesaddressing modes
addressing modes
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
Addresing modes
Addresing modesAddresing modes
Addresing modes
 
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
Addressing modes/Addressing Mode with illustration/ Addressing mode in 8086
 
Bca examination 2016 csa
Bca examination 2016 csaBca examination 2016 csa
Bca examination 2016 csa
 
Addressing mode of 8051
Addressing mode of 8051Addressing mode of 8051
Addressing mode of 8051
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System Architecture
 
Computer Architecture - Data Path & Pipeline Hazards
Computer Architecture - Data Path & Pipeline HazardsComputer Architecture - Data Path & Pipeline Hazards
Computer Architecture - Data Path & Pipeline Hazards
 
Addressing modes (detailed data path)
Addressing modes (detailed data path)Addressing modes (detailed data path)
Addressing modes (detailed data path)
 
Digital signal processing
Digital signal processingDigital signal processing
Digital signal processing
 
Addressing mode
Addressing modeAddressing mode
Addressing mode
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Datatransferandmanipulation 180214044522
Datatransferandmanipulation 180214044522Datatransferandmanipulation 180214044522
Datatransferandmanipulation 180214044522
 
Lecture 11
Lecture 11Lecture 11
Lecture 11
 
Hennchthree 161102111515
Hennchthree 161102111515Hennchthree 161102111515
Hennchthree 161102111515
 
Hennchthree
HennchthreeHennchthree
Hennchthree
 
Unit 5 I/O organization
Unit 5   I/O organizationUnit 5   I/O organization
Unit 5 I/O organization
 

Similar to 8085 Instruction Formats & Instruction Sets Explained

Microprocessor and Microcontroller.pptx
Microprocessor and Microcontroller.pptxMicroprocessor and Microcontroller.pptx
Microprocessor and Microcontroller.pptxpvg123456
 
16-bit Microprocessor Design (2005)
16-bit Microprocessor Design (2005)16-bit Microprocessor Design (2005)
16-bit Microprocessor Design (2005)Susam Pal
 
instruction format and addressing modes
instruction format and addressing modesinstruction format and addressing modes
instruction format and addressing modesRamaPrabha24
 
Bca examination 2015 csa
Bca examination 2015 csaBca examination 2015 csa
Bca examination 2015 csaAnjaan Gajendra
 
Microcontroller pic 16f877 addressing modes instructions and programming
Microcontroller pic 16f877 addressing modes instructions and programmingMicrocontroller pic 16f877 addressing modes instructions and programming
Microcontroller pic 16f877 addressing modes instructions and programmingNilesh Bhaskarrao Bahadure
 
UNIT 2_ESD.pdf
UNIT 2_ESD.pdfUNIT 2_ESD.pdf
UNIT 2_ESD.pdfSaralaT3
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulationjanani thirupathi
 
Design of FPGA based 8-bit RISC Controller IP core using VHDL
Design of FPGA based 8-bit RISC Controller IP core using VHDLDesign of FPGA based 8-bit RISC Controller IP core using VHDL
Design of FPGA based 8-bit RISC Controller IP core using VHDLAneesh Raveendran
 
8085 instructions and addressing modes
8085 instructions and addressing modes8085 instructions and addressing modes
8085 instructions and addressing modesSuchismita Paul
 
Microprocessor and microcontroller (MPMC).pdf
Microprocessor and microcontroller (MPMC).pdfMicroprocessor and microcontroller (MPMC).pdf
Microprocessor and microcontroller (MPMC).pdfXyzjakhaAbhuvs
 

Similar to 8085 Instruction Formats & Instruction Sets Explained (20)

Introduction to Microcontrollers
Introduction to MicrocontrollersIntroduction to Microcontrollers
Introduction to Microcontrollers
 
Microprocessor and Microcontroller.pptx
Microprocessor and Microcontroller.pptxMicroprocessor and Microcontroller.pptx
Microprocessor and Microcontroller.pptx
 
16-bit Microprocessor Design (2005)
16-bit Microprocessor Design (2005)16-bit Microprocessor Design (2005)
16-bit Microprocessor Design (2005)
 
instruction format and addressing modes
instruction format and addressing modesinstruction format and addressing modes
instruction format and addressing modes
 
Bca examination 2015 csa
Bca examination 2015 csaBca examination 2015 csa
Bca examination 2015 csa
 
Different addressing mode and risc, cisc microprocessor
Different addressing mode and risc, cisc microprocessorDifferent addressing mode and risc, cisc microprocessor
Different addressing mode and risc, cisc microprocessor
 
Bc0040
Bc0040Bc0040
Bc0040
 
Microcontroller pic 16f877 addressing modes instructions and programming
Microcontroller pic 16f877 addressing modes instructions and programmingMicrocontroller pic 16f877 addressing modes instructions and programming
Microcontroller pic 16f877 addressing modes instructions and programming
 
Unit 2
Unit 2Unit 2
Unit 2
 
Unit 2
Unit 2Unit 2
Unit 2
 
Chapter 7
Chapter 7Chapter 7
Chapter 7
 
viva q&a for mp lab
viva q&a for mp labviva q&a for mp lab
viva q&a for mp lab
 
UNIT 2_ESD.pdf
UNIT 2_ESD.pdfUNIT 2_ESD.pdf
UNIT 2_ESD.pdf
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulation
 
Mp lab manual
Mp lab manualMp lab manual
Mp lab manual
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 
Design of FPGA based 8-bit RISC Controller IP core using VHDL
Design of FPGA based 8-bit RISC Controller IP core using VHDLDesign of FPGA based 8-bit RISC Controller IP core using VHDL
Design of FPGA based 8-bit RISC Controller IP core using VHDL
 
8085 instructions and addressing modes
8085 instructions and addressing modes8085 instructions and addressing modes
8085 instructions and addressing modes
 
MPMC UNIT-2.pdf
MPMC UNIT-2.pdfMPMC UNIT-2.pdf
MPMC UNIT-2.pdf
 
Microprocessor and microcontroller (MPMC).pdf
Microprocessor and microcontroller (MPMC).pdfMicroprocessor and microcontroller (MPMC).pdf
Microprocessor and microcontroller (MPMC).pdf
 

Recently uploaded

What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 

Recently uploaded (20)

9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 

8085 Instruction Formats & Instruction Sets Explained

  • 1. 4/13/2022 1 Dr.R.Senthil Kumar/ KSRCE Instruction Format of 8085
  • 2. Instruction format Instruction format is defined as - Instruction is the command given by the user to the microprocessor and need to be get executed by the processor the entire group of instruction are called instruction set and for properly working , these instruction sets are arranged in a proper way which is known as instruction format. . Instruction format of 8085 has two fundamental fields. (i) Opcode (information of operation) (ii) Operand (address of location) Type of instruction:- There are following three types of instructions formats used in microprocessor - (I) 1-byte instruction (II) 2-byte instruction (III) 3-byte instruction 4/13/2022 2 Dr.R.Senthil Kumar/ KSRCE
  • 3. Classification of Instruction Set • Data Transfer Instruction • Arithmetic Instructions • Logical Instructions • Branching Instructions • Control Instructions 4/13/2022 3 Dr.R.Senthil Kumar/ KSRCE
  • 4. 1-byte instruction A 1-byte instruction includes the opcode and a operand is the same byte. Example-1: Task- Copy the contents of accumulator in register B. Mnemonic- MOV B, A Opcode- MOV Operand- B, A Hex Code- 47H Binary code- 0100 0111 The length of these instructions is 8-bit; each requires one memory location. The mnemonic is always followed by a letter (or two letters) representing the registers (such as A, B, C, D, E, H, L and SP). 4/13/2022 4 Dr.R.Senthil Kumar/ KSRCE
  • 5. Two-byte instructions Two-byte instruction is the type of instruction in which the first 8 bits indicates the opcode and the next 8 bits indicates the operand. Example-1: Task- Load the hexadecimal data 32H in the accumulator. Mnemonic- MVI A, 32H Opcode- MVI Operand- A, 32H Hex Code- 3E 32 Binary code- 0011 1110 0011 0010 Note – This type of instructions need two bytes to store the binary codes. The mnemonic is always followed by 8- bit (byte) data. 4/13/2022 5 Dr.R.Senthil Kumar/ KSRCE
  • 6. 3- byte instruction Three-byte instruction is the type of instruction in which the first 8 bits indicates the opcode and the next two bytes specify the 16-bit address. The low-order address is represented in second byte and the high-order address is represented in the third byte. Example-1: Task- Load contents of memory 2050H in the accumulator. Mnemonic- LDA 2050H Opcode- LDA Operand- 2050H Hex Code- 3A 50 20 Binary code- 0011 1010 0101 0000 0010 0000 4/13/2022 6 Dr.R.Senthil Kumar/ KSRCE
  • 7. Note – These instructions would require three memory locations to store the binary codes. The mnemonic is always followed by 16-bit 4/13/2022 7 Dr.R.Senthil Kumar/ KSRCE
  • 9. Instruction Set of 8085 Microprocessor An instruction is a binary command used to execute an operation inside the microprocessor over a given data. A group of instructions that are supported by the 8085 microprocessor is known to be the instruction set of 8085 microprocessor. Basically, 8085 is designed to have 5 functional categories of the instruction set. 4/13/2022 9 Dr.R.Senthil Kumar/ KSRCE
  • 10. Instruction set of 8085 microprocessor An instruction set is a group of instruction that executes the desired operation on the data specifically described by the microprocessor 8085. 4/13/2022 10 Dr.R.Senthil Kumar/ KSRCE
  • 12. Data Transfer Instruction • These instructions are used by the microprocessor in order to transfer the data from one location to another. • More specifically, it helps in transferring the data from source operand to destination operand, without making any changes in the source data. • As the data present in the source is not modified. Thus it is more convenient to call it a data copy instruction. • As while transferring the data from source to destination, the data present in the source is just copied to the destination also. Due to this no change in source data is noticed. 4/13/2022 12 Dr.R.Senthil Kumar/ KSRCE
  • 13. Basically, the instructions that come under this instruction set, are as follows: This instruction helps to transfer the contents of register r2 into register r1. While the data in register r2 will remain the same. This instruction transfers the data in register B to an accumulator. This instruction specifies the transfer of data present in the memory to the register. However, the address of the memory location must be present in the HL register. 4/13/2022 13 Dr.R.Senthil Kumar/ KSRCE
  • 14. Arithmetic Instruction This instruction set allows arithmetic operations to be performed over the data in memory and register inside the 8085 microprocessor. This instruction specifies that the data present in the register is to be added with the data present in the accumulator and the result is to be stored in the accumulator itself. This instruction is used to add the data of the memory address specified at the operand with the data present at the accumulator. And the result of the addition is stored in the accumulator. 4/13/2022 14 Dr.R.Senthil Kumar/ KSRCE
  • 15. Logical Instruction These instructions are used to perform logical or Boolean operations over the data present in either register or memory. The logical instructions modify the flag bits according to the operation performed. This instruction is used to compare the data at the accumulator with the data present at the register or memory which is given as operand. According to the result obtained by the comparison, the flags are set. While the data being compared remains unchanged. 4/13/2022 15 Dr.R.Senthil Kumar/ KSRCE
  • 16. Branching Instruction These instructions are used in order to switch or transfer the control of the microprocessor from one position to another. More specifically we can say, it changes the general sequential flow. The branching instruction set is given below: This instruction is used to transfer the present program sequence to that memory location whose 16-bit address is specified in operand of the instruction. 4/13/2022 16 Dr.R.Senthil Kumar/ KSRCE
  • 17. Branching Instruction These instructions are used in order to switch or transfer the control of the microprocessor from one position to another. More specifically we can say, it changes the general sequential flow. The branching instruction set is given below: This instruction is used to transfer the present program sequence to that memory location whose 16-bit address is specified in operand of the instruction. 4/13/2022 17 Dr.R.Senthil Kumar/ KSRCE
  • 18. Control Instruction As the name itself is suggesting that these instructions are used to control the operations of the microprocessor. The control instructions are as follows It stands for no operation. Whenever the microprocessor fetches this instruction, then it is decoded but not executed. 4/13/2022 18 Dr.R.Senthil Kumar/ KSRCE
  • 19. Control Instruction It is used to disable the interrupts generated in the microprocessor. Resetting of interrupt enable flip-flop is performed. This leads to disabling of all the interrupts except TR AP. 4/13/2022 19 Dr.R.Senthil Kumar/ KSRCE