SlideShare a Scribd company logo
1 of 22
2
Intel 8085 Pin
Configuration
3
Signals and I/O Pins
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Accumulator (A) Flag
B C
D E
H L
Programme Counter(PC)
Stack Pointer(SP)
Sign
Flag(S)
Zero
Flag(Z)
X Auxiliary
Carry
Flag(AC)
X Parity
Flag(P)
X Carry
Flag(C)
7 6 5 4 3 2 1 0
Intel 8085 microprocessor has following registers
 One 8-bit accumulator(ACC);register A
 Six 8-bit GPR;B,C,D,E,H,L
 One 16-bit Stack pointer; SP
 One 16-bit programme counter; PC
 Instruction register and Temporary register
Instruction Set of 8085
• An instruction is a command given to the microprocessor to
perform a specified operation on given data.
• An instruction contain two part: operational code(opcode) and
operand.
• The first part of the instruction which specifies the task to be
performed by microprocessor is called opcode.
• The second part of the instruction is the data to be operated on
and it is called operand. Operand may be 8-bit or 16-bit data,
8-bit or 16-bit address, internal registers or a register or
memory location.
Opcode Operand
Classification of Instruction Set
• Data Transfer Instruction
• Arithmetic Instructions
• Logical Instructions
• Branching Instructions
• Control Instructions
Data Transfer Instruction
• MOV B,A
• MVI C,45H
23 6A
B A
7D
C
45
Opcode Operand Description
MOV Rd, Rs
M, Rs
Rd, M
Copy from source to destination.
Opcode Operand Description
MVI Rd, Data
M, Data
Move immediate 8-bit
6A
Opcode Operand Description
LXI Rp, data [16-bit] Move immediate 16-bit data to the register pair
[rh]=8-MSB, [rl]=8-LSB
45 3D
B C
LXI B, 1432 H
14 32
Opcode Operand Description
LDA Address[16-bit] Store accumulator
LDA 1432 H 45
A 2B 1431
68 1432
4E 1433
68
Opcode Operand Description
STA Address[16-bit] Store accumulator
STA 4150H 45
A
23
E3
6D
414F
4150
4151
45
Opcode Operand Description
LHLD Address[16-bit] Load [H-L] pair direct
LHLD 4409 H A0
H
23
E3
6D
4408
4409
440A
D2
L
6D
E3
Opcode Operand Description
SHLD Address[16-bit] Store [H-L] pair direct
SHLD 4409 H A0
H
23
E3
6D
4408
4409
440A
D2
L
A0 D2
Opcode Operand Description
XCHG Exchange the contents of[H-L] with [D-E] pair
A0
H
D2
L
78
D
9E
E
XCHG
Direct Access from Memory
H-L register pair is known as memory pointer
45 3D
H L
LXI H, 1432 H
14 32
MOV D,M 95
2B 1431
68 1432
4E 1433
D
68
Arithmetic Instruction
Opcode Operand Description
ADD R
M
Add register with accumulator
ADD B
19
A
32
B 19+32=4B
4B
ADD M 14 32
H L
2B 1431
68 1432
4E 1433
4B
A
4B+68=B3
B3
Opcode Operand Description
ADI Data[8-bit] Add immediate data[8-bit] with accumulator
ADI 34H B3
A
B3+34=E7E7
Opcode Operand Description
ADC r
M
Add register with carry accumulator
ADC B
19
A
32
B
19+32+1=4C
CF
1 4C
Opcode Operand Description
ACI Data[8-bit] Add with carry immediate data to accumulator
ACI 25H
19
A
19+25+1=3F
CF
1 3F
Opcode Operand Description
DAD rp Add register pair with [H-L] pair
30
28
2A
36
30+2A+0=5A
28+36=5E
H
L
B
C
DAD B
5A
5E
Arithmetic Instruction
Opcode Operand Description
SUB R
M
Subtract register from accumulator
SUB B
32
A
18
B 32-18=1A
1A
SUB M 14 32
H L
2B 1431
68 1432
4E 1433
72
A
72-68=0A0A
Opcode Operand Description
SUI Data[8-bit] Subtract immediate data[8-bit] from accumulator
SUI 04H 18
A
18-04=14 14
Opcode Operand Description
SBB r
M
Subtract register from accumulator with borrow
SBB B
32
A
0B
B
32-0B-0=27
CF
0
27
Opcode Operand Description
SBI Data[8-bit] Subtract immediate data from accumulator with
borrow
SBI 0EH
19
A
19-0E-1=0A
CF
1 0A
Opcode Operand Description
INR r
M
Increment register content
INR B 0B
B
0B+1=0C 0C
Opcode Operand Description
DCR r
M
Decrement register content
DCR B 0B
B
0B-1=0A 0A
Opcode Operand Description
INX rp Increment the content of register pair
INX B FF
B
12FF+1=130012
C
00
Opcode Operand Description
DCX Rp Decrement the content of register pair
DCX B FF
B
12FF-1=12FE12
C
FE
13
Logical Instruction
Opcode Operand Description
ANA r
M
AND register with accumulator
ANA L 0B
L
0B 0 0 0 0 1 0 1 1
1E 0 0 0 1 1 1 1 0
0A 0 0 0 0 1 0 1 0
1E
A
0A
Opcode Operand Description
ANI Data[8-bit] AND immediate data with accumulator
ANI 0B 0B 0 0 0 0 1 0 1 1
1E 0 0 0 1 1 1 1 0
0A 0 0 0 0 1 0 1 0
1E
A
0A
Opcode Operand Description
ORA r
M
OR register with accumulator
ORI Data[8-bit] OR immediate data with accumulator
XRA r
M
EXCLUSIVE-OR register with accumulator
XRI Data[8-bit] EXCLUSIVE-OR immediate data with
accumulator
CMC Compliment the carry status
STC Set carry status
CMA Complement the accumulator
CMA 2B 0 0 1 0 1 0 1 1
D4 1 1 0 1 0 1 0 0
2B
A
D4
Branch Instruction
Opcode Operand Description
JC address[16-bit] Jump immediate address if CF=1
324B
41FF xxx
4200 xxxxx
4201 xxxxxx
4202 xxxxxx
PC
1
CF
324A xx
324B JC 4200
324E xxxxxx
324F xxxxxx 4200
Opcode Operand Description
JNC address[16-bit] Jump immediate address if CF=0
JZ address[16-bit] Jump immediate address if ZF=1
JNZ address[16-bit] Jump immediate address if ZF=0
JP address[16-bit] Jump immediate address if SF=0
JM address[16-bit] Jump immediate address if SF=1
JPE address[16-bit] Jump immediate address if PF=1
JPO address[16-bit] Jump immediate address if PF=0
Machine Control Instruction
Opcode Operand Description
HLT Stop the execution of instruction in the
microprocessor
NOP No operation
IN Port-address Input to accumulator from I/O port
OUT Port-address Output from accumulator from I/O port
Place 05 in the accumulator. Increment it by one
and store the result in the memory location 4150 H
Memory
Address
4100
4102
4103
4106
Machine
Code
3E,05
3C
32,50,41
76
Mnemonics
MVI
INR
STA
HLT
Operands
A,05
A
4150
Comments
Get 05 in the
ACC
Inc the content
of Acc
Store the result
in 4150 H
Halt
55
414F 23
4150 45
4151 E2
4152 94
A
0506 06

More Related Content

What's hot

8085 paper-presentation
8085 paper-presentation8085 paper-presentation
8085 paper-presentationJiMs ChAcko
 
Instruction set of 8085
Instruction set  of 8085Instruction set  of 8085
Instruction set of 8085shiji v r
 
Chapter 7 - Programming Techniques with Additional Instructions
Chapter 7 - Programming Techniques with Additional InstructionsChapter 7 - Programming Techniques with Additional Instructions
Chapter 7 - Programming Techniques with Additional Instructionscmkandemir
 
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 setSaumitra Rukmangad
 
Timing Diagram of MVI Instruction of 8085 Microprocessor
Timing Diagram of MVI Instruction of 8085 MicroprocessorTiming Diagram of MVI Instruction of 8085 Microprocessor
Timing Diagram of MVI Instruction of 8085 MicroprocessorDhrumil Panchal
 
Assembly Language Programming Of 8085
Assembly Language Programming Of 8085Assembly Language Programming Of 8085
Assembly Language Programming Of 8085techbed
 
instructions of 8085 Microprocessor
instructions of 8085 Microprocessorinstructions of 8085 Microprocessor
instructions of 8085 MicroprocessorPooja mittal
 
4. Instruction Set Of MP 8085.pptx
4. Instruction Set Of MP 8085.pptx4. Instruction Set Of MP 8085.pptx
4. Instruction Set Of MP 8085.pptxISMT College
 
8085 microprocessor(1)
8085 microprocessor(1)8085 microprocessor(1)
8085 microprocessor(1)Reevu Pal
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecturedeval patel
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085Sumit Swain
 
Microprocessor 8085 Chapter 4
Microprocessor 8085 Chapter 4Microprocessor 8085 Chapter 4
Microprocessor 8085 Chapter 4Rishikesh Bhavsar
 
T imingdiagram
T imingdiagramT imingdiagram
T imingdiagrampuja00
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085ShivamSood22
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollersgomathy S
 

What's hot (20)

8085 paper-presentation
8085 paper-presentation8085 paper-presentation
8085 paper-presentation
 
Instruction set of 8085
Instruction set  of 8085Instruction set  of 8085
Instruction set of 8085
 
Chapter 7 - Programming Techniques with Additional Instructions
Chapter 7 - Programming Techniques with Additional InstructionsChapter 7 - Programming Techniques with Additional Instructions
Chapter 7 - Programming Techniques with Additional Instructions
 
Microprocessor systems 8085(2)
Microprocessor systems 8085(2)Microprocessor systems 8085(2)
Microprocessor systems 8085(2)
 
SHLD and LHLD instruction
SHLD and LHLD instructionSHLD and LHLD instruction
SHLD and LHLD instruction
 
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
 
Timing Diagram of MVI Instruction of 8085 Microprocessor
Timing Diagram of MVI Instruction of 8085 MicroprocessorTiming Diagram of MVI Instruction of 8085 Microprocessor
Timing Diagram of MVI Instruction of 8085 Microprocessor
 
Assembly Language Programming Of 8085
Assembly Language Programming Of 8085Assembly Language Programming Of 8085
Assembly Language Programming Of 8085
 
instructions of 8085 Microprocessor
instructions of 8085 Microprocessorinstructions of 8085 Microprocessor
instructions of 8085 Microprocessor
 
4. Instruction Set Of MP 8085.pptx
4. Instruction Set Of MP 8085.pptx4. Instruction Set Of MP 8085.pptx
4. Instruction Set Of MP 8085.pptx
 
8085 microprocessor(1)
8085 microprocessor(1)8085 microprocessor(1)
8085 microprocessor(1)
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
Microprocessor 8085 Chapter 4
Microprocessor 8085 Chapter 4Microprocessor 8085 Chapter 4
Microprocessor 8085 Chapter 4
 
8085 microprocessor Embedded system
8085 microprocessor  Embedded system8085 microprocessor  Embedded system
8085 microprocessor Embedded system
 
T imingdiagram
T imingdiagramT imingdiagram
T imingdiagram
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
 
EE2356 Microprocessor and Microcontroller Lab Manuel
EE2356 Microprocessor and Microcontroller Lab ManuelEE2356 Microprocessor and Microcontroller Lab Manuel
EE2356 Microprocessor and Microcontroller Lab Manuel
 

Viewers also liked

Instruction Set 8085
Instruction Set 8085Instruction Set 8085
Instruction Set 8085Stupidsid.com
 
Instruction set 8085
Instruction set 8085Instruction set 8085
Instruction set 8085varun sukheja
 
Addresing mode and timing diagram
Addresing mode and timing diagramAddresing mode and timing diagram
Addresing mode and timing diagramtrivediau1
 
Detailed Explanation of Pin Description of 8085 microprocessor
Detailed Explanation of Pin Description of  8085 microprocessorDetailed Explanation of Pin Description of  8085 microprocessor
Detailed Explanation of Pin Description of 8085 microprocessorRamesh Dabhole
 
8085 addressing modes
8085 addressing modes8085 addressing modes
8085 addressing modesVijay Kumar
 
8085 interrupts
8085 interrupts8085 interrupts
8085 interruptsIsha Negi
 
Difference b/w 8085 & 8086
Difference b/w 8085 & 8086Difference b/w 8085 & 8086
Difference b/w 8085 & 8086j4jiet
 
1204 Ppi 8255
1204 Ppi 82551204 Ppi 8255
1204 Ppi 8255techbed
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkarSAQUIB AHMAD
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Designmekind
 
8085 microprocessor architecture ppt
8085 microprocessor architecture ppt8085 microprocessor architecture ppt
8085 microprocessor architecture pptParvesh Gautam
 

Viewers also liked (16)

Instruction Set 8085
Instruction Set 8085Instruction Set 8085
Instruction Set 8085
 
8085 full discription
8085 full discription8085 full discription
8085 full discription
 
Instruction set 8085
Instruction set 8085Instruction set 8085
Instruction set 8085
 
Addresing mode and timing diagram
Addresing mode and timing diagramAddresing mode and timing diagram
Addresing mode and timing diagram
 
8085 instruction set
8085 instruction set8085 instruction set
8085 instruction set
 
Detailed Explanation of Pin Description of 8085 microprocessor
Detailed Explanation of Pin Description of  8085 microprocessorDetailed Explanation of Pin Description of  8085 microprocessor
Detailed Explanation of Pin Description of 8085 microprocessor
 
8085 addressing modes
8085 addressing modes8085 addressing modes
8085 addressing modes
 
8085 interrupts
8085 interrupts8085 interrupts
8085 interrupts
 
Difference b/w 8085 & 8086
Difference b/w 8085 & 8086Difference b/w 8085 & 8086
Difference b/w 8085 & 8086
 
1204 Ppi 8255
1204 Ppi 82551204 Ppi 8255
1204 Ppi 8255
 
Interrupts of microprocessor 8085
Interrupts of microprocessor  8085Interrupts of microprocessor  8085
Interrupts of microprocessor 8085
 
Interfacing 8255
Interfacing 8255Interfacing 8255
Interfacing 8255
 
Role of CPU
Role of CPURole of CPU
Role of CPU
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
 
8085 microprocessor architecture ppt
8085 microprocessor architecture ppt8085 microprocessor architecture ppt
8085 microprocessor architecture ppt
 

Similar to Intel 8085 mp

Similar to Intel 8085 mp (20)

1.pdf
1.pdf1.pdf
1.pdf
 
8085_MicroelectronicAndMicroprocess.pdf
8085_MicroelectronicAndMicroprocess.pdf8085_MicroelectronicAndMicroprocess.pdf
8085_MicroelectronicAndMicroprocess.pdf
 
8085 instructions
8085 instructions8085 instructions
8085 instructions
 
INTEL 8085 DATA FORMAT AND INSTRUCTIONS
INTEL 8085 DATA FORMAT AND INSTRUCTIONSINTEL 8085 DATA FORMAT AND INSTRUCTIONS
INTEL 8085 DATA FORMAT AND INSTRUCTIONS
 
Microprocessor Part 3
Microprocessor    Part  3Microprocessor    Part  3
Microprocessor Part 3
 
Basic computer organization design
Basic computer organization designBasic computer organization design
Basic computer organization design
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
Io (2)
Io (2)Io (2)
Io (2)
 
8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontroller
 
8255
82558255
8255
 
8155 GPPI
8155 GPPI8155 GPPI
8155 GPPI
 
microp-8085 74 instructions for mct-A :P
microp-8085 74 instructions for mct-A :Pmicrop-8085 74 instructions for mct-A :P
microp-8085 74 instructions for mct-A :P
 
microp-8085 74 instructions for mct-A :P-2
microp-8085 74 instructions for mct-A :P-2microp-8085 74 instructions for mct-A :P-2
microp-8085 74 instructions for mct-A :P-2
 
1203 Ppi 8155
1203 Ppi 81551203 Ppi 8155
1203 Ppi 8155
 
Instruction set summary
Instruction set summary Instruction set summary
Instruction set summary
 
2. 8085-Microprocessor.pptx
2. 8085-Microprocessor.pptx2. 8085-Microprocessor.pptx
2. 8085-Microprocessor.pptx
 
Microprocessor lab manual
Microprocessor lab manualMicroprocessor lab manual
Microprocessor lab manual
 
Emb day2 8051
Emb day2 8051Emb day2 8051
Emb day2 8051
 
Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01
 
Unit_2 (4).pptx
Unit_2 (4).pptxUnit_2 (4).pptx
Unit_2 (4).pptx
 

Recently uploaded

Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
 
OOP concepts -in-Python programming language
OOP concepts -in-Python programming languageOOP concepts -in-Python programming language
OOP concepts -in-Python programming languageSmritiSharma901052
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Communityprachaibot
 
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHTEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHSneha Padhiar
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communicationpanditadesh123
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating SystemRashmi Bhat
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSHigh Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSsandhya757531
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...Erbil Polytechnic University
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
 
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdfsahilsajad201
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONjhunlian
 
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Sumanth A
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solidnamansinghjarodiya
 
DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM.pdf
DEVICE DRIVERS AND INTERRUPTS  SERVICE MECHANISM.pdfDEVICE DRIVERS AND INTERRUPTS  SERVICE MECHANISM.pdf
DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM.pdfAkritiPradhan2
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptxmohitesoham12
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Erbil Polytechnic University
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 

Recently uploaded (20)

Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
 
OOP concepts -in-Python programming language
OOP concepts -in-Python programming languageOOP concepts -in-Python programming language
OOP concepts -in-Python programming language
 
Prach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism CommunityPrach: A Feature-Rich Platform Empowering the Autism Community
Prach: A Feature-Rich Platform Empowering the Autism Community
 
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHTEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communication
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSHigh Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...
 
Designing pile caps according to ACI 318-19.pptx
Designing pile caps according to ACI 318-19.pptxDesigning pile caps according to ACI 318-19.pptx
Designing pile caps according to ACI 318-19.pptx
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
 
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdf
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
 
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solid
 
DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM.pdf
DEVICE DRIVERS AND INTERRUPTS  SERVICE MECHANISM.pdfDEVICE DRIVERS AND INTERRUPTS  SERVICE MECHANISM.pdf
DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM.pdf
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptx
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 

Intel 8085 mp

  • 1.
  • 4.
  • 5. 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Accumulator (A) Flag B C D E H L Programme Counter(PC) Stack Pointer(SP) Sign Flag(S) Zero Flag(Z) X Auxiliary Carry Flag(AC) X Parity Flag(P) X Carry Flag(C) 7 6 5 4 3 2 1 0 Intel 8085 microprocessor has following registers  One 8-bit accumulator(ACC);register A  Six 8-bit GPR;B,C,D,E,H,L  One 16-bit Stack pointer; SP  One 16-bit programme counter; PC  Instruction register and Temporary register
  • 6. Instruction Set of 8085 • An instruction is a command given to the microprocessor to perform a specified operation on given data. • An instruction contain two part: operational code(opcode) and operand. • The first part of the instruction which specifies the task to be performed by microprocessor is called opcode. • The second part of the instruction is the data to be operated on and it is called operand. Operand may be 8-bit or 16-bit data, 8-bit or 16-bit address, internal registers or a register or memory location. Opcode Operand
  • 7. Classification of Instruction Set • Data Transfer Instruction • Arithmetic Instructions • Logical Instructions • Branching Instructions • Control Instructions
  • 8. Data Transfer Instruction • MOV B,A • MVI C,45H 23 6A B A 7D C 45 Opcode Operand Description MOV Rd, Rs M, Rs Rd, M Copy from source to destination. Opcode Operand Description MVI Rd, Data M, Data Move immediate 8-bit 6A
  • 9. Opcode Operand Description LXI Rp, data [16-bit] Move immediate 16-bit data to the register pair [rh]=8-MSB, [rl]=8-LSB 45 3D B C LXI B, 1432 H 14 32 Opcode Operand Description LDA Address[16-bit] Store accumulator LDA 1432 H 45 A 2B 1431 68 1432 4E 1433 68
  • 10. Opcode Operand Description STA Address[16-bit] Store accumulator STA 4150H 45 A 23 E3 6D 414F 4150 4151 45 Opcode Operand Description LHLD Address[16-bit] Load [H-L] pair direct LHLD 4409 H A0 H 23 E3 6D 4408 4409 440A D2 L 6D E3
  • 11. Opcode Operand Description SHLD Address[16-bit] Store [H-L] pair direct SHLD 4409 H A0 H 23 E3 6D 4408 4409 440A D2 L A0 D2 Opcode Operand Description XCHG Exchange the contents of[H-L] with [D-E] pair A0 H D2 L 78 D 9E E XCHG
  • 12. Direct Access from Memory H-L register pair is known as memory pointer 45 3D H L LXI H, 1432 H 14 32 MOV D,M 95 2B 1431 68 1432 4E 1433 D 68
  • 13. Arithmetic Instruction Opcode Operand Description ADD R M Add register with accumulator ADD B 19 A 32 B 19+32=4B 4B ADD M 14 32 H L 2B 1431 68 1432 4E 1433 4B A 4B+68=B3 B3 Opcode Operand Description ADI Data[8-bit] Add immediate data[8-bit] with accumulator ADI 34H B3 A B3+34=E7E7
  • 14. Opcode Operand Description ADC r M Add register with carry accumulator ADC B 19 A 32 B 19+32+1=4C CF 1 4C Opcode Operand Description ACI Data[8-bit] Add with carry immediate data to accumulator ACI 25H 19 A 19+25+1=3F CF 1 3F Opcode Operand Description DAD rp Add register pair with [H-L] pair 30 28 2A 36 30+2A+0=5A 28+36=5E H L B C DAD B 5A 5E
  • 15. Arithmetic Instruction Opcode Operand Description SUB R M Subtract register from accumulator SUB B 32 A 18 B 32-18=1A 1A SUB M 14 32 H L 2B 1431 68 1432 4E 1433 72 A 72-68=0A0A Opcode Operand Description SUI Data[8-bit] Subtract immediate data[8-bit] from accumulator SUI 04H 18 A 18-04=14 14
  • 16. Opcode Operand Description SBB r M Subtract register from accumulator with borrow SBB B 32 A 0B B 32-0B-0=27 CF 0 27 Opcode Operand Description SBI Data[8-bit] Subtract immediate data from accumulator with borrow SBI 0EH 19 A 19-0E-1=0A CF 1 0A
  • 17. Opcode Operand Description INR r M Increment register content INR B 0B B 0B+1=0C 0C Opcode Operand Description DCR r M Decrement register content DCR B 0B B 0B-1=0A 0A Opcode Operand Description INX rp Increment the content of register pair INX B FF B 12FF+1=130012 C 00 Opcode Operand Description DCX Rp Decrement the content of register pair DCX B FF B 12FF-1=12FE12 C FE 13
  • 18. Logical Instruction Opcode Operand Description ANA r M AND register with accumulator ANA L 0B L 0B 0 0 0 0 1 0 1 1 1E 0 0 0 1 1 1 1 0 0A 0 0 0 0 1 0 1 0 1E A 0A Opcode Operand Description ANI Data[8-bit] AND immediate data with accumulator ANI 0B 0B 0 0 0 0 1 0 1 1 1E 0 0 0 1 1 1 1 0 0A 0 0 0 0 1 0 1 0 1E A 0A
  • 19. Opcode Operand Description ORA r M OR register with accumulator ORI Data[8-bit] OR immediate data with accumulator XRA r M EXCLUSIVE-OR register with accumulator XRI Data[8-bit] EXCLUSIVE-OR immediate data with accumulator CMC Compliment the carry status STC Set carry status CMA Complement the accumulator CMA 2B 0 0 1 0 1 0 1 1 D4 1 1 0 1 0 1 0 0 2B A D4
  • 20. Branch Instruction Opcode Operand Description JC address[16-bit] Jump immediate address if CF=1 324B 41FF xxx 4200 xxxxx 4201 xxxxxx 4202 xxxxxx PC 1 CF 324A xx 324B JC 4200 324E xxxxxx 324F xxxxxx 4200 Opcode Operand Description JNC address[16-bit] Jump immediate address if CF=0 JZ address[16-bit] Jump immediate address if ZF=1 JNZ address[16-bit] Jump immediate address if ZF=0 JP address[16-bit] Jump immediate address if SF=0 JM address[16-bit] Jump immediate address if SF=1 JPE address[16-bit] Jump immediate address if PF=1 JPO address[16-bit] Jump immediate address if PF=0
  • 21. Machine Control Instruction Opcode Operand Description HLT Stop the execution of instruction in the microprocessor NOP No operation IN Port-address Input to accumulator from I/O port OUT Port-address Output from accumulator from I/O port
  • 22. Place 05 in the accumulator. Increment it by one and store the result in the memory location 4150 H Memory Address 4100 4102 4103 4106 Machine Code 3E,05 3C 32,50,41 76 Mnemonics MVI INR STA HLT Operands A,05 A 4150 Comments Get 05 in the ACC Inc the content of Acc Store the result in 4150 H Halt 55 414F 23 4150 45 4151 E2 4152 94 A 0506 06