SlideShare a Scribd company logo
Subject : Microprocessor & Microcontroller
Interfacing
Semester: 5th
Topic : 8085 Instruction
PRESENTED BY: CHINTAN HANSALIA
(151310109009)
Content
Introduction
Classification of Instruction Set
Data Transfer Instruction
Arithmetic Instructions
Logical Instructions
Branching Instructions
Stack & machine control Instructions
Chintan Hansalia 151310109009
Introduction
 An instruction is a binary pattern designed inside a
microprocessor to perform a specific function.
 The entire group of instructions that a microprocessor
supports is called Instruction Set.
 Each instruction basically consists of two parts. 1st part is called
opcode & 2nd part is called operand.
 Opcode : operation to be performed
 Operand : provides the data or specifies data
Chintan Hansalia 151310109009
Classification of Instruction Set
● Data Transfer Instruction
● Arithmetic Instructions
● Logical Instructions
● Branching Instructions
● Stack & machine control Instructions
Chintan Hansalia 151310109009
Data Transfer Instructions
 These instructions move data between registers, or between memory
and registers.
 These instructions copy data from source to destination.
● While copying, the contents of source are not modified
Chintan Hansalia 151310109009
Opcode Opcode Description
MOV R , M Copy from source to destination.
MVI R , M Data Move immediate 8-bit
LDA 16-bit add. Load Accumulator
STA 16-bit add. Store accumulator direct
LHLD 16-bit add. Load H-L registers direct
SHLD 16-bit add. Store H-L registers direct
LXI Reg. pair, 16-
bit data
Load register pair immediate
LDAX BD Reg. pair Load accumulator indirect
XCHG None Exchange H-L with D-E
STAX Reg. pair Store accumulator indirect
XTHL None Exchange H–L with top of stack
Instructions
Chintan Hansalia 151310109009
Arithmetic Instructions
Addition/Subtraction
● Any 8-bit no. or the contents of register or the contents of
memory location can be added(subtracted) to the contents of
accumulator.
● The result is stored in the accumulator.
● No two other 8-bit registers can be added(subtracted) directly.
● For subtraction, it is performed in 2’s complement form.
Chintan Hansalia 151310109009
Increment / 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.
Chintan Hansalia 151310109009
Opcode Opcode Description
ADD R , M Add register or memory to accumulator
ADI 8 -bit data Add immediate, data to accumulator
ADC R , M Add register or memory to accumulator with carry
ACI 8 – bit data Add immediate, data to accumulator with carry
SUB R , M Subtract register or memory from accumulator
SUI 8 – bit data Subtract immediate, data from accumulator
SBB R , M Subtract register or memory from accumulator with borrow
SBI 8 – bit data Subtract immediate, data from accumulator with borrow
INR R , M Increment register or memory by 1
DCR R, M Decrement register or memory by 1
INX R Increment register pair by 1
DCX R Decrement register pair by 1
DAD Reg. pair Add register pair to H-L pair
Instruction
Chintan Hansalia 151310109009
Logical Instructions
AND, OR, XOR
●Any 8-bit data, or the contents of register, or memory location can
logically have
●AND , OR ,XOR operation with the contents of accumulator.
●The result is stored in accumulator.
Chintan Hansalia 151310109009
Rotate, Complement, Compare
●Rotate: Each bit in the accumulator can be shifted either left or right
to the next position.
●Complement: The contents of accumulator can be complemented.
Each 0 is replaced by 1 and each 1 is replaced by 0.
● Compare: Any 8-bit data or the contents of register, or memory
location can be compares for: Equality, Greater Than, Less Than, with
the contents of accumulator.
● The result is reflected in status flags.
Chintan Hansalia 151310109009
Opcode Opcode Description
ANA R , M Logical AND register or memory with accumulator
ANI 8-bit data Logical AND immediate, data with accumulator
ORA R , M Logical OR register or memory with accumulator
ORI 8-bit data Logical OR immediate, data with accumulator
XRA R , M Logical XOR register or memory with accumulator
XRI 8-bit data XOR immediate, data with accumulator
CMP R , M Compare register or memory with accumulator
CPI 8-bit data Compare immediate, data with accumulator
RLC None Rotate accumulator left
RRC None Rotate accumulator right
RAL None Rotate accumulator left through carry
RAR None Rotate accumulator right through carry
CMA None Complement accumulator
CMC None Complement carry
STC None Set carry
Instruction
Chintan Hansalia 151310109009
Opcode
(JUMP)
Opcode
(CALL)
Opcode
(RET)
Description Status Flags
JC CC RC if Carry CY = 1
JNC CNC RNC if No Carry CY = 0
JP CP RP if Positive S = 0
JM CM RM if Minus S = 1
JZ CZ RZ if Zero Z = 1
JNZ CNZ RNZ if No Zero Z = 0
JPE CPE RPE if Parity Even P = 1
JPO CPO RPO if Parity Odd P = 0
Chintan Hansalia 151310109009
Opcode Operand Description
JUMP None Jump unconditionally
CALL None Call unconditionally
RET None Return unconditionally
Branching Instructions
●The branching instruction
alter the normal sequential
flow.
●These instructions alter
either unconditionally or
conditionally.
Stack & Machine Control Instructions
● Used to read/write stack memory, control the
enabling/disabling interrupt
● Control the stack operations, input/output
operation and machine control operations.
●The stack instructions allow the transfer of data
from register pair to stack memory and vice-
versa.
Chintan Hansalia 151310109009
Opcode Description
NOP No operation
HLT Halt
DI Disable Interrupt
EI Enable Interrupt
RIM Read Interrupt Mask
SIM Set Interrupt Mask
Reference
● Tech-Max by U. S. Shah
● Wikipedia
● ebooks.bharathuvi.ac.in
● Lecture notes
Thank You

More Related Content

What's hot

The 8051 microcontroller
The 8051  microcontroller The 8051  microcontroller
The 8051 microcontroller
Avinash Mishra
 
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
 
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1
deval patel
 
Microprocessor lab
Microprocessor labMicroprocessor lab
Microprocessor labkpaulraj
 
Ch2 microcontroller architecture
Ch2 microcontroller architectureCh2 microcontroller architecture
Ch2 microcontroller architecture
Ahmad Sidik
 
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
Saumitra Rukmangad
 
Instruction set of 8085
Instruction set of 8085Instruction set of 8085
8085 branching instruction
8085 branching instruction8085 branching instruction
8085 branching instruction
prashant1271
 
1347 Assembly Language Programming Of 8051
1347 Assembly Language Programming Of 80511347 Assembly Language Programming Of 8051
1347 Assembly Language Programming Of 8051
techbed
 
Chp5 pic microcontroller instruction set copy
Chp5 pic microcontroller instruction set   copyChp5 pic microcontroller instruction set   copy
Chp5 pic microcontroller instruction set copymkazree
 
8085 instruction set
8085 instruction set8085 instruction set
8085 micro processor
8085 micro processor8085 micro processor
8085 micro processor
Poojith Chowdhary
 
Programming with 8085
Programming with 8085Programming with 8085
Programming with 8085
Shehrevar Davierwala
 
Microcontroller instruction set
Microcontroller instruction setMicrocontroller instruction set
Microcontroller instruction set
Shail Modi
 
Micro task1
Micro task1Micro task1
Micro task1
ChetanShahukari
 
Microprocessor and Microcontroller Lab Manual!
Microprocessor and Microcontroller Lab Manual!Microprocessor and Microcontroller Lab Manual!
Microprocessor and Microcontroller Lab Manual!
PRABHAHARAN429
 
Instruction set
Instruction setInstruction set
Instruction set
Mayank Bhatt
 

What's hot (18)

The 8051 microcontroller
The 8051  microcontroller The 8051  microcontroller
The 8051 microcontroller
 
Chapter 3 instruction set-of-8085
Chapter 3 instruction set-of-8085Chapter 3 instruction set-of-8085
Chapter 3 instruction set-of-8085
 
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1
 
Some advanced instructions of the 8085 microprocessors
Some advanced instructions of the 8085 microprocessorsSome advanced instructions of the 8085 microprocessors
Some advanced instructions of the 8085 microprocessors
 
Microprocessor lab
Microprocessor labMicroprocessor lab
Microprocessor lab
 
Ch2 microcontroller architecture
Ch2 microcontroller architectureCh2 microcontroller architecture
Ch2 microcontroller architecture
 
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
 
Instruction set of 8085
Instruction set of 8085Instruction set of 8085
Instruction set of 8085
 
8085 branching instruction
8085 branching instruction8085 branching instruction
8085 branching instruction
 
1347 Assembly Language Programming Of 8051
1347 Assembly Language Programming Of 80511347 Assembly Language Programming Of 8051
1347 Assembly Language Programming Of 8051
 
Chp5 pic microcontroller instruction set copy
Chp5 pic microcontroller instruction set   copyChp5 pic microcontroller instruction set   copy
Chp5 pic microcontroller instruction set copy
 
8085 instruction set
8085 instruction set8085 instruction set
8085 instruction set
 
8085 micro processor
8085 micro processor8085 micro processor
8085 micro processor
 
Programming with 8085
Programming with 8085Programming with 8085
Programming with 8085
 
Microcontroller instruction set
Microcontroller instruction setMicrocontroller instruction set
Microcontroller instruction set
 
Micro task1
Micro task1Micro task1
Micro task1
 
Microprocessor and Microcontroller Lab Manual!
Microprocessor and Microcontroller Lab Manual!Microprocessor and Microcontroller Lab Manual!
Microprocessor and Microcontroller Lab Manual!
 
Instruction set
Instruction setInstruction set
Instruction set
 

Similar to 8085 instructions

Intel 8085 mp
Intel 8085 mpIntel 8085 mp
Intel 8085 mp
Shaswata Chowdhury
 
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptxDiscussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
pjmulat
 
Computer architecture 3
Computer architecture 3Computer architecture 3
Computer architecture 3
Dr.Umadevi V
 
Logical instruction of 8085
Logical instruction of 8085 Logical instruction of 8085
Logical instruction of 8085
Nemish Bhojani
 
(a)Suppose the main memory of the Pep8 were completely filled with .docx
(a)Suppose the main memory of the Pep8 were completely filled with .docx(a)Suppose the main memory of the Pep8 were completely filled with .docx
(a)Suppose the main memory of the Pep8 were completely filled with .docx
ajoy21
 
Arithmetic and logical instructions
Arithmetic and logical instructionsArithmetic and logical instructions
Arithmetic and logical instructions
BIRLA VISHVAKARMA MAHAVIDYALAY
 
8085 instruction-set part 1
8085 instruction-set part 18085 instruction-set part 1
8085 instruction-set part 1
RENUKASHIRBAVIKAR1
 
Introduction to 8085 microprocessor
Introduction to 8085 microprocessorIntroduction to 8085 microprocessor
Introduction to 8085 microprocessor
venkateshkannat
 
Microprocessor and microcontroller
Microprocessor and microcontrollerMicroprocessor and microcontroller
Microprocessor and microcontrollerRavinder Singla
 
8085-instruction-set.ppt
8085-instruction-set.ppt8085-instruction-set.ppt
8085-instruction-set.ppt
babu kannan
 
12973 block diagram of 8085
12973 block diagram of 808512973 block diagram of 8085
12973 block diagram of 8085RAHULNOUGHTY
 
Pdemodule 4
Pdemodule 4Pdemodule 4
Pdemodule 4
neerajtcr1990
 
8085 microprocessor(1)
8085 microprocessor(1)8085 microprocessor(1)
8085 microprocessor(1)Reevu Pal
 
8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf
Koteswari Kasireddy
 
itft-Instruction set-of-8085
itft-Instruction set-of-8085itft-Instruction set-of-8085
itft-Instruction set-of-8085Shifali Sharma
 
PPT 8085 microprocessor
PPT 8085 microprocessor PPT 8085 microprocessor
PPT 8085 microprocessor
Ardhendupanja
 
instruction-set-of-8085 (1).ppt
instruction-set-of-8085 (1).pptinstruction-set-of-8085 (1).ppt
instruction-set-of-8085 (1).ppt
ssuserb448e2
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
Waleed Khan
 
Qb microprocessors
Qb microprocessorsQb microprocessors
Qb microprocessors
Neelam Kapoor
 
Instruction set of 8085
Instruction set of 8085Instruction set of 8085
Instruction set of 8085
venkateshkannat
 

Similar to 8085 instructions (20)

Intel 8085 mp
Intel 8085 mpIntel 8085 mp
Intel 8085 mp
 
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptxDiscussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
 
Computer architecture 3
Computer architecture 3Computer architecture 3
Computer architecture 3
 
Logical instruction of 8085
Logical instruction of 8085 Logical instruction of 8085
Logical instruction of 8085
 
(a)Suppose the main memory of the Pep8 were completely filled with .docx
(a)Suppose the main memory of the Pep8 were completely filled with .docx(a)Suppose the main memory of the Pep8 were completely filled with .docx
(a)Suppose the main memory of the Pep8 were completely filled with .docx
 
Arithmetic and logical instructions
Arithmetic and logical instructionsArithmetic and logical instructions
Arithmetic and logical instructions
 
8085 instruction-set part 1
8085 instruction-set part 18085 instruction-set part 1
8085 instruction-set part 1
 
Introduction to 8085 microprocessor
Introduction to 8085 microprocessorIntroduction to 8085 microprocessor
Introduction to 8085 microprocessor
 
Microprocessor and microcontroller
Microprocessor and microcontrollerMicroprocessor and microcontroller
Microprocessor and microcontroller
 
8085-instruction-set.ppt
8085-instruction-set.ppt8085-instruction-set.ppt
8085-instruction-set.ppt
 
12973 block diagram of 8085
12973 block diagram of 808512973 block diagram of 8085
12973 block diagram of 8085
 
Pdemodule 4
Pdemodule 4Pdemodule 4
Pdemodule 4
 
8085 microprocessor(1)
8085 microprocessor(1)8085 microprocessor(1)
8085 microprocessor(1)
 
8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf8085_LAB_PROGRAMS.pdf
8085_LAB_PROGRAMS.pdf
 
itft-Instruction set-of-8085
itft-Instruction set-of-8085itft-Instruction set-of-8085
itft-Instruction set-of-8085
 
PPT 8085 microprocessor
PPT 8085 microprocessor PPT 8085 microprocessor
PPT 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
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
Qb microprocessors
Qb microprocessorsQb microprocessors
Qb microprocessors
 
Instruction set of 8085
Instruction set of 8085Instruction set of 8085
Instruction set of 8085
 

Recently uploaded

PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.pptPROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
bhadouriyakaku
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
awadeshbabu
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
Divyam548318
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
zwunae
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
Kamal Acharya
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptxTOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
nikitacareer3
 
Self-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptxSelf-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptx
iemerc2024
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
dxobcob
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 

Recently uploaded (20)

PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.pptPROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptxTOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
 
Self-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptxSelf-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptx
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 

8085 instructions

  • 1. Subject : Microprocessor & Microcontroller Interfacing Semester: 5th Topic : 8085 Instruction PRESENTED BY: CHINTAN HANSALIA (151310109009)
  • 2. Content Introduction Classification of Instruction Set Data Transfer Instruction Arithmetic Instructions Logical Instructions Branching Instructions Stack & machine control Instructions Chintan Hansalia 151310109009
  • 3. Introduction  An instruction is a binary pattern designed inside a microprocessor to perform a specific function.  The entire group of instructions that a microprocessor supports is called Instruction Set.  Each instruction basically consists of two parts. 1st part is called opcode & 2nd part is called operand.  Opcode : operation to be performed  Operand : provides the data or specifies data Chintan Hansalia 151310109009
  • 4. Classification of Instruction Set ● Data Transfer Instruction ● Arithmetic Instructions ● Logical Instructions ● Branching Instructions ● Stack & machine control Instructions Chintan Hansalia 151310109009
  • 5. Data Transfer Instructions  These instructions move data between registers, or between memory and registers.  These instructions copy data from source to destination. ● While copying, the contents of source are not modified Chintan Hansalia 151310109009
  • 6. Opcode Opcode Description MOV R , M Copy from source to destination. MVI R , M Data Move immediate 8-bit LDA 16-bit add. Load Accumulator STA 16-bit add. Store accumulator direct LHLD 16-bit add. Load H-L registers direct SHLD 16-bit add. Store H-L registers direct LXI Reg. pair, 16- bit data Load register pair immediate LDAX BD Reg. pair Load accumulator indirect XCHG None Exchange H-L with D-E STAX Reg. pair Store accumulator indirect XTHL None Exchange H–L with top of stack Instructions Chintan Hansalia 151310109009
  • 7. Arithmetic Instructions Addition/Subtraction ● Any 8-bit no. or the contents of register or the contents of memory location can be added(subtracted) to the contents of accumulator. ● The result is stored in the accumulator. ● No two other 8-bit registers can be added(subtracted) directly. ● For subtraction, it is performed in 2’s complement form. Chintan Hansalia 151310109009
  • 8. Increment / 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. Chintan Hansalia 151310109009
  • 9. Opcode Opcode Description ADD R , M Add register or memory to accumulator ADI 8 -bit data Add immediate, data to accumulator ADC R , M Add register or memory to accumulator with carry ACI 8 – bit data Add immediate, data to accumulator with carry SUB R , M Subtract register or memory from accumulator SUI 8 – bit data Subtract immediate, data from accumulator SBB R , M Subtract register or memory from accumulator with borrow SBI 8 – bit data Subtract immediate, data from accumulator with borrow INR R , M Increment register or memory by 1 DCR R, M Decrement register or memory by 1 INX R Increment register pair by 1 DCX R Decrement register pair by 1 DAD Reg. pair Add register pair to H-L pair Instruction Chintan Hansalia 151310109009
  • 10. Logical Instructions AND, OR, XOR ●Any 8-bit data, or the contents of register, or memory location can logically have ●AND , OR ,XOR operation with the contents of accumulator. ●The result is stored in accumulator. Chintan Hansalia 151310109009
  • 11. Rotate, Complement, Compare ●Rotate: Each bit in the accumulator can be shifted either left or right to the next position. ●Complement: The contents of accumulator can be complemented. Each 0 is replaced by 1 and each 1 is replaced by 0. ● Compare: Any 8-bit data or the contents of register, or memory location can be compares for: Equality, Greater Than, Less Than, with the contents of accumulator. ● The result is reflected in status flags. Chintan Hansalia 151310109009
  • 12. Opcode Opcode Description ANA R , M Logical AND register or memory with accumulator ANI 8-bit data Logical AND immediate, data with accumulator ORA R , M Logical OR register or memory with accumulator ORI 8-bit data Logical OR immediate, data with accumulator XRA R , M Logical XOR register or memory with accumulator XRI 8-bit data XOR immediate, data with accumulator CMP R , M Compare register or memory with accumulator CPI 8-bit data Compare immediate, data with accumulator RLC None Rotate accumulator left RRC None Rotate accumulator right RAL None Rotate accumulator left through carry RAR None Rotate accumulator right through carry CMA None Complement accumulator CMC None Complement carry STC None Set carry Instruction Chintan Hansalia 151310109009
  • 13. Opcode (JUMP) Opcode (CALL) Opcode (RET) Description Status Flags JC CC RC if Carry CY = 1 JNC CNC RNC if No Carry CY = 0 JP CP RP if Positive S = 0 JM CM RM if Minus S = 1 JZ CZ RZ if Zero Z = 1 JNZ CNZ RNZ if No Zero Z = 0 JPE CPE RPE if Parity Even P = 1 JPO CPO RPO if Parity Odd P = 0 Chintan Hansalia 151310109009 Opcode Operand Description JUMP None Jump unconditionally CALL None Call unconditionally RET None Return unconditionally Branching Instructions ●The branching instruction alter the normal sequential flow. ●These instructions alter either unconditionally or conditionally.
  • 14. Stack & Machine Control Instructions ● Used to read/write stack memory, control the enabling/disabling interrupt ● Control the stack operations, input/output operation and machine control operations. ●The stack instructions allow the transfer of data from register pair to stack memory and vice- versa. Chintan Hansalia 151310109009 Opcode Description NOP No operation HLT Halt DI Disable Interrupt EI Enable Interrupt RIM Read Interrupt Mask SIM Set Interrupt Mask
  • 15. Reference ● Tech-Max by U. S. Shah ● Wikipedia ● ebooks.bharathuvi.ac.in ● Lecture notes Thank You