SlideShare a Scribd company logo
1 of 134
8085 Instruction Set
R.S. SHIRBAVIKAR
1
8085 Instruction Set
2
8085 Instruction Set
3
8085 Instruction Set
4
8085 Instruction Set
5
8085 Instruction Set
6
8085 Instruction Set
7
8085 Instruction Set
8
8085 Instruction Set
9
8085 Instruction Set
10
8085 Instruction Set
11
8085 Instruction Set
12
8085 Instruction Set
13
8085 Instruction Set
14
8085 Instruction Set
15
8085 Instruction Set
16
8085 Instruction Set
17
8085 Instruction Set
18
8085 Instruction Set
19
8085 Instruction Set
20
8085 Instruction Set
21
8085 Instruction Set
22
8085 Instruction Set
23
8085 Instruction Set
24
8085 Instruction Set
25
8085 Instruction Set
26
8085 Instruction Set
27
8085 Instruction Set
28
8085 Instruction Set
29
8085 Instruction Set
30
8085 Instruction Set
31
8085 Instruction Set
32
8085 Instruction Set
33
8085 Instruction Set
34
8085 Instruction Set
35
8085 Instruction Set
36
8085 Instruction Set
37
8085 Instruction Set
38
8085 Instruction Set
39
 PSW (Program Status word)
 - Flag unaffected
 * affected
 0 reset
 1 set
 S Sign (Bit 7)
 Z Zero (Bit 6)
 AC Auxiliary Carry (Bit 4)
 P Parity (Bit 2)
 CY Carry (Bit 0)
8085 Instruction Set
40
8085 Instruction Set
41
8085 Instruction Set
42
8085 Instruction Set
43
8085 Instruction Set
44
8085 Instruction Set
45
8085 Instruction Set
46
8085 Instruction Set
47
8085 Instruction Set
48
8085 Instruction Set
49
8085 Instruction Set
50
8085 Instruction Set
51
8085 Instruction Set
52
8085 Instruction Set
53
8085 Instruction Set
54
8085 Instruction Set
55
8085 Instruction Set
56
8085 Instruction Set
57
 circular Left shift
 CIRCULAR RIGHT SHIFT
58
8085 Instruction Set
59
8085 Instruction Set
60
8085 Instruction Set
61
8085 Instruction Set
62
8085 Instruction Set
63
8085 Instruction Set
64
8085 Instruction Set
65
8085 Instruction Set
66
8085 Instruction Set
67
8085 Instruction Set
68
8085 Instruction Set
69
8085 Instruction Set
70
8085 Instruction Set
71
Summary – Data transfer
 MOV Move
 MVI Move Immediate
 LDA Load Accumulator Directly from
Memory
 STA Store Accumulator Directly in
Memory
 LHLD Load H & L Registers Directly
from Memory
 SHLD Store H & L Registers Directly in
Memory
8085 Instruction Set
72
Summary Data transfer
 An 'X' in the name of a data transfer instruction implies that it
deals with a register pair (16-bits);
 LXI Load Register Pair with Immediate data
 LDAX Load Accumulator from Address in Register Pair
 STAX Store Accumulator in Address in Register Pair
 XCHG Exchange H & L with D & E
 XTHL Exchange Top of Stack with H & L
8085 Instruction Set
73
Summary - Arithmetic
Group
 Add, Subtract, Increment / Decrement data in registers or memory.
 ADD Add to Accumulator
 ADI Add Immediate Data to Accumulator
 ADC Add to Accumulator Using Carry Flag
 ACI Add Immediate data to Accumulator Using Carry
 SUB Subtract from Accumulator
 SUI Subtract Immediate Data from Accumulator
 SBB Subtract from Accumulator Using Borrow (Carry) Flag
 SBI Subtract Immediate from Accumulator
Using Borrow (Carry) Flag
 INR Increment Specified Byte by One
 DCR Decrement Specified Byte by One
 INX Increment Register Pair by One
 DCX Decrement Register Pair by One
 DAD Double Register Add; Add Content of Register Pair to H & L
Register Pair
8085 Instruction Set
74
Summary Logical Group
 This group performs logical (Boolean) operations on data in
registers and memory and on condition flags.
 These instructions enable you to set specific bits in the
accumulator ON or OFF.
 ANA Logical AND with Accumulator
 ANI Logical AND with Accumulator Using Immediate
Data
 ORA Logical OR with Accumulator
 OR Logical OR with Accumulator Using Immediate
Data
 XRA Exclusive Logical OR with Accumulator
 XRI Exclusive OR Using Immediate Data
8085 Instruction Set
75
 The Compare instructions compare the content of an 8-bit value with the contents of the accumulator;
 CMP Compare
 CPI Compare Using Immediate Data
 The rotate instructions shift the contents of the accumulator one bit position to the left or right:
 RLC Rotate Accumulator Left
 RRC Rotate Accumulator Right
 RAL Rotate Left Through Carry
 RAR Rotate Right Through Carry
 Complement and carry flag instructions:
 CMA Complement Accumulator
 CMC Complement Carry Flag
 STC Set Carry Flag
8085 Instruction Set
76
Summary - Branch Group
 Unconditional branching
 JMP Jump
 CALL Call
 RET Return
 Conditions
 NZ Not Zero (Z = 0)
 Z Zero (Z = 1)
 NC No Carry (C = 0)
 C Carry (C = 1)
 PO Parity Odd (P = 0)
 PE Parity Even (P = 1)
 P Plus (S = 0)
 M Minus (S = 1)
 Conditional branching
8085 Instruction Set
77
Summary - Stack
 PUSH Push Two bytes of Data onto the Stack
 POP Pop Two Bytes of Data off the Stack
 XTHL Exchange Top of Stack with H & L
 SPHL Move content of H & L to Stack Pointer
8085 Instruction Set
78
I/0 instructions
 IN Initiate Input Operation
 OUT Initiate Output Operation
8085 Instruction Set
79
Summary -Machine Control
instructions
 EI Enable Interrupt System
 DI Disable Interrupt System
 HLT Halt
 NOP No Operation
8085 Instruction Set
80
 Which is the microprocessor comprises:
 a. Register section b. One or more ALU
c. Control unit d. All of these
 2) What is the store by register?
 a. data b. operands c. memory
d. None of these 3) Accumulator based microprocessor
example are: a. Intel 8085 b. Motorola 6809
c. A and B d. None of these
 4) A set of register which contain are:
a. data b. memory addresses
c. result d. all of these 5) There are primarily
two types of register: a. general purpose register
b. dedicated register c. A and B
d. none of these 6) Name of typical dedicated register
is: a. PC b. IR c. SP d. All
of these
8085 Instruction Set
81
 In which of these modes, the immediate operand is
included in the instruction itself?
a) register operand mode
b) immediate operand mode
c) register and immediate operand mode
d) none of the mentioned
8085 Instruction Set
82
 In register address mode, the operand is stored in
a) 8-bit general purpose register
b) 16-bit general purpose register
c) si or di
d) all of the mentioned
8085 Instruction Set
83
 In register address mode, the operand is stored in
a) 8-bit general purpose register
b) 16-bit general purpose register
c) si or di
d) all of the mentioned
8085 Instruction Set
84
 . Which category of microprocessor instructions
detect the status conditions in registers and
accordingly exhibit the variations in program
sequence on the basis of detected results?
a. Transfer Instructions
b. Operation Instructions
c. Control Instructions
d. All of the above
8085 Instruction Set
85
 . Which category of microprocessor instructions
detect the status conditions in registers and
accordingly exhibit the variations in program
sequence on the basis of detected results?
a. Transfer Instructions
b. Operation Instructions
c. Control Instructions
d. All of the above
8085 Instruction Set
86
 The push and pop instructions belonging to the
category of transfer instructions of microprocessor
perform data transformation between _______.
a. two registers
b. processor register and memory stack
c. processor register and interface register
d. interface register and memory word
8085 Instruction Set
87
 The push and pop instructions belonging to the
category of transfer instructions of microprocessor
perform data transformation between _______.
a. two registers
b. processor register and memory stack
c. processor register and interface register
d. interface register and memory word
8085 Instruction Set
88
 Which addressing mode execute its instructions
within CPU without the necessity of reference
memory for operands?
a. Implied Mode
b. Immediate Mode
c. Direct Mode
d. Register Mode
8085 Instruction Set
89
 Which addressing mode execute its instructions
within CPU without the necessity of reference
memory for operands?
a. Implied Mode
b. Immediate Mode
c. Direct Mode
d. Register Mode
8085 Instruction Set
90
 Flag register is an 8-bit register having __________ 1-bit flip-
flops.
 A. 3
B. 4
C. 5
D. 6
8085 Instruction Set
91
 What is true about Program counter?
 A. It is an 8-bit register, which holds the temporary data
of arithmetic and logical operations.
B. When an instruction is fetched from memory then it is
stored in the program counter
C. It provides timing and control signal to the
microprocessor
D. It is a 16-bit register used to store the memory
address location of the next instruction to be executed.
8085 Instruction Set
92
 What is true about Program counter?
 A. It is an 8-bit register, which holds the temporary data
of arithmetic and logical operations.
B. When an instruction is fetched from memory then it is
stored in the program counter
C. It provides timing and control signal to the
microprocessor
D. It is a 16-bit register used to store the memory
address location of the next instruction to be executed.
8085 Instruction Set
93
 This signal indicates that another master is requesting the
use of the address and data buses.
 A. READY
B. HOLD
C. HLDA
D. INTA
8085 Instruction Set
94
 This signal indicates that another master is requesting the
use of the address and data buses.
 A. READY
B. HOLD
C. HLDA
D. INTA
8085 Instruction Set
95
 Which of the following is true about Control and status
signals?
 A. These signals are used to identify the nature of
operation.
B. There are 3 control signal and 3 status signals.
C. Three status signals are IO/M, S0 & S1.
D. All of the above
8085 Instruction Set
96
 Which of the following is true about Control and status
signals?
 A. These signals are used to identify the nature of
operation.
B. There are 3 control signal and 3 status signals.
C. Three status signals are IO/M, S0 & S1.
D. All of the above
8085 Instruction Set
97
 MVI K, 20F is an example of?
 A. Immediate addressing mode
B. Register addressing mode
C. Direct addressing mode
D. Indirect addressing mode
8085 Instruction Set
98
 The microprocessor ___________ those instructions from the
memory
 A. Fetch
B. Decode
C. Execute
D. None of the above
8085 Instruction Set
99
WRITE A PROGRAM TO ADD THE CONTENT OF MEMORY
LOCATION D00H AND D001H STORE ITS RESULT IN MEMORY
LOCATION D005
8085 Instruction Set
100
8085 Instruction Set
101
8085 Instruction Set
102
8085 Instruction Set
103
8085 Instruction Set
104
8085 Instruction Set
105
8085 Instruction Set
106
8085 Instruction Set
107
8085 Instruction Set
108
Write a program to add two hexadecimal
& decimal numbers.
8085 Instruction Set
109
8085 Instruction Set
110
8085 Instruction Set
111
8085 Instruction Set
112
8085 Instruction Set
113
8085 Instruction Set
114
8085 Instruction Set
115
8085 Instruction Set
116
8085 Instruction Set
117
8085 Instruction Set
118
105) The register section is related to______ of the computer:
a. Processing
b. ALU
c. Main memory
d. None of these
106) In Microprocessor one of the operands holds a special register called:
lculator
Dedicated
Accumulator
None of these
107) Which register is a temporary storage location:
general purpose register
dedicated register
A and B
ne of these
108) PC stands for:
Program counter
ints counter
Paragraph counter
Paint counter
8085 Instruction Set
119
105) The register section is related to______ of the computer:
a. Processing
b. ALU
c. Main memory
d. None of these
106) In Microprocessor one of the operands holds a special register called:
lculator
Dedicated
Accumulator
None of these
107) Which register is a temporary storage location:
general purpose register
dedicated register
A and B
ne of these
108) PC stands for:
Program counter
ints counter
Paragraph counter
Paint counter
8085 Instruction Set
120
113) How many parts of single address computer instruction :
2
3
4
114) Single address computer instruction has two parts:
The operation code
The operand
A and B
ne of these
115) LA stands for:
Load accumulator
ast accumulator
Last accumulator
None of these
8085 Instruction Set
121
113) How many parts of single address computer instruction :
2
3
4
114) Single address computer instruction has two parts:
The operation code
The operand
A and B
ne of these
115) LA stands for:
Load accumulator
ast accumulator
Last accumulator
None of these
8085 Instruction Set
122
116) Which are the flags of status register:
Over flow flag
Carry flag
Half carry flag
Zero flag
terrupt flag
Negative flag
All of these
8085 Instruction Set
123
117) The carry is operand by:
c
D
S
O
118) The sign is operand by:
s
D
C
O
119) The zero is operand by:
z
D
S
O
120) The overflow is operand by:
o
D
S
C
8085 Instruction Set
124
121) _________ Stores the instruction currently being executed:
Instruction register
Current register
Both a and b
ne of these
122) In which register instruction is decoded prepared and ultimately
executed:
Instruction register
rrent register
Both a and b
None of these
123) The status register is also called the____:
a. Condition code register
b. Flag register
c. A and B
d. None of these
8085 Instruction Set
125
121) _________ Stores the instruction currently being executed:
Instruction register
Current register
Both a and b
ne of these
122) In which register instruction is decoded prepared and ultimately
executed:
Instruction register
rrent register
Both a and b
None of these
123) The status register is also called the____:
a. Condition code register
b. Flag register
c. A and B
d. None of these
8085 Instruction Set
126
132) The left side of any binary number is called:
Least significant digit
Most significant digit
dium significant digit
low significant digit
133) MSD stands for:
Least significant digit
Most significant digit
dium significant digit
low significant digit
8085 Instruction Set
127
132) The left side of any binary number is called:
Least significant digit
Most significant digit
dium significant digit
low significant digit
133) MSD stands for:
Least significant digit
Most significant digit
dium significant digit
low significant digit
8085 Instruction Set
128
WE stands for:
Write enable
Wrote enable
ite envy
None of these
144) MAR stands for:
Memory address register
Memory address recode
cro address register
None of these
145) MDR stands for:
Memory data register
Memory data recode
cro data register
None of these
8085 Instruction Set
129
WE stands for:
Write enable
Wrote enable
ite envy
None of these
144) MAR stands for:
Memory address register
Memory address recode
cro address register
None of these
145) MDR stands for:
Memory data register
Memory data recode
cro data register
None of these
8085 Instruction Set
130
DMA stands for:
a. Direct memory access
b. Direct memory allocation
c. Data memory access
d. Data memory allocation
148) The ____ place the data from a register onto the data bus:
a. CPU
b. ALU
c. Both A and B
d. None of these
8085 Instruction Set
131
DMA stands for:
a. Direct memory access
b. Direct memory allocation
c. Data memory access
d. Data memory allocation
148) The ____ place the data from a register onto the data bus:
a. CPU
b. ALU
c. Both A and B
d. None of these
8085 Instruction Set
132
151) The external device is connected to a pin called the ______ pin on the processor
chip.
Interrupt
ansfer
Both
None of these
152) Which interrupt has the highest priority?
INTR
Trap
RST6.5
none of these
153) In 8085 name the 16 bit registers?
Stack pointer
program counter
a & b
none of these
8085 Instruction Set
133
151) The external device is connected to a pin called the ______ pin on the processor
chip.
Interrupt
ansfer
Both
None of these
152) Which interrupt has the highest priority?
INTR
trap
RST6.5
none of these
153) In 8085 name the 16 bit registers?
Stack pointer
ogram counter
a & b
none of these
THANK YOU
134

More Related Content

What's hot

Instruction set of 8085
Instruction set  of 8085Instruction set  of 8085
Instruction set of 8085shiji v r
 
MICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSMICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSSabin Gautam
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessorAMAN SRIVASTAVA
 
8086 pin details
8086 pin details8086 pin details
8086 pin detailsAJAL A J
 
CS304PC:Computer Organization and Architecture Session 11 general register or...
CS304PC:Computer Organization and Architecture Session 11 general register or...CS304PC:Computer Organization and Architecture Session 11 general register or...
CS304PC:Computer Organization and Architecture Session 11 general register or...Asst.prof M.Gokilavani
 
Microprocessor lab manual
Microprocessor lab manualMicroprocessor lab manual
Microprocessor lab manualDhaval Shukla
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorRavi Anand
 
8085 addressing modes
8085 addressing modes8085 addressing modes
8085 addressing modesVijay Kumar
 
8254 timer - Microprocessor and interfacing
8254 timer - Microprocessor and interfacing8254 timer - Microprocessor and interfacing
8254 timer - Microprocessor and interfacingAmitabh Shukla
 
Registers and counters
Registers and counters Registers and counters
Registers and counters Deepak John
 
Timing Diagram.pptx
Timing Diagram.pptxTiming Diagram.pptx
Timing Diagram.pptxISMT College
 
Clock-8086 bus cycle
Clock-8086 bus cycleClock-8086 bus cycle
Clock-8086 bus cycleRani Rahul
 

What's hot (20)

Instruction set of 8085
Instruction set  of 8085Instruction set  of 8085
Instruction set of 8085
 
MICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMSMICROPROCESSOR 8085 WITH PROGRAMS
MICROPROCESSOR 8085 WITH PROGRAMS
 
Computer arithmetic
Computer arithmeticComputer arithmetic
Computer arithmetic
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
 
Programming with 8085
Programming with 8085Programming with 8085
Programming with 8085
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
 
8086 pin details
8086 pin details8086 pin details
8086 pin details
 
List of 8085 programs
List of 8085 programsList of 8085 programs
List of 8085 programs
 
8086 memory segmentation
8086 memory segmentation8086 memory segmentation
8086 memory segmentation
 
CS304PC:Computer Organization and Architecture Session 11 general register or...
CS304PC:Computer Organization and Architecture Session 11 general register or...CS304PC:Computer Organization and Architecture Session 11 general register or...
CS304PC:Computer Organization and Architecture Session 11 general register or...
 
Microprocessor lab manual
Microprocessor lab manualMicroprocessor lab manual
Microprocessor lab manual
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
 
8085 addressing modes
8085 addressing modes8085 addressing modes
8085 addressing modes
 
Delay routine
Delay routineDelay routine
Delay routine
 
Addressing modes of 8085
Addressing modes of 8085Addressing modes of 8085
Addressing modes of 8085
 
8254 timer - Microprocessor and interfacing
8254 timer - Microprocessor and interfacing8254 timer - Microprocessor and interfacing
8254 timer - Microprocessor and interfacing
 
Stack and subroutine
Stack and subroutineStack and subroutine
Stack and subroutine
 
Registers and counters
Registers and counters Registers and counters
Registers and counters
 
Timing Diagram.pptx
Timing Diagram.pptxTiming Diagram.pptx
Timing Diagram.pptx
 
Clock-8086 bus cycle
Clock-8086 bus cycleClock-8086 bus cycle
Clock-8086 bus cycle
 

Similar to 8085 instruction-set part 1

8085-instruction-set.ppt
8085-instruction-set.ppt8085-instruction-set.ppt
8085-instruction-set.pptHarishRagavB
 
8085-instruction-set.ppt
8085-instruction-set.ppt8085-instruction-set.ppt
8085-instruction-set.pptHarshVartak1
 
8085-instruction-set.ppt
8085-instruction-set.ppt8085-instruction-set.ppt
8085-instruction-set.pptPoonamKadian3
 
8085-instruction-set.ppt
8085-instruction-set.ppt8085-instruction-set.ppt
8085-instruction-set.pptbabu kannan
 
PPT 8085 microprocessor
PPT 8085 microprocessor PPT 8085 microprocessor
PPT 8085 microprocessor Ardhendupanja
 
instruction set and classificaion
instruction set and classificaioninstruction set and classificaion
instruction set and classificaionRamaPrabha24
 
8085 microprocessor(1)
8085 microprocessor(1)8085 microprocessor(1)
8085 microprocessor(1)Reevu Pal
 
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.pptxpjmulat
 
Assembly language i
Assembly language iAssembly language i
Assembly language iVivek Kumar
 
Unit 2 Instruction set.pdf
Unit 2 Instruction set.pdfUnit 2 Instruction set.pdf
Unit 2 Instruction set.pdfHimanshuPant41
 
Assemblylanguageprogrammingof8085 100523023329-phpapp02
Assemblylanguageprogrammingof8085 100523023329-phpapp02Assemblylanguageprogrammingof8085 100523023329-phpapp02
Assemblylanguageprogrammingof8085 100523023329-phpapp02Swati Watve-Phadke
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessorATTO RATHORE
 
microprocessor ppt (branching and logical instructions)
microprocessor ppt (branching and logical instructions)microprocessor ppt (branching and logical instructions)
microprocessor ppt (branching and logical instructions)Nemish Bhojani
 
INTEL 8085 DATA FORMAT AND INSTRUCTIONS
INTEL 8085 DATA FORMAT AND INSTRUCTIONSINTEL 8085 DATA FORMAT AND INSTRUCTIONS
INTEL 8085 DATA FORMAT AND INSTRUCTIONSSwapnil Mishra
 
Chapter 3 instruction set-of-8085
Chapter 3 instruction set-of-8085Chapter 3 instruction set-of-8085
Chapter 3 instruction set-of-8085Shubham Singh
 

Similar to 8085 instruction-set part 1 (20)

8085-instruction-set.ppt
8085-instruction-set.ppt8085-instruction-set.ppt
8085-instruction-set.ppt
 
8085 instruction-set
8085 instruction-set8085 instruction-set
8085 instruction-set
 
8085-instruction-set.ppt
8085-instruction-set.ppt8085-instruction-set.ppt
8085-instruction-set.ppt
 
8085-instruction-set.ppt
8085-instruction-set.ppt8085-instruction-set.ppt
8085-instruction-set.ppt
 
8085-instruction-set.ppt
8085-instruction-set.ppt8085-instruction-set.ppt
8085-instruction-set.ppt
 
PPT 8085 microprocessor
PPT 8085 microprocessor PPT 8085 microprocessor
PPT 8085 microprocessor
 
instruction set and classificaion
instruction set and classificaioninstruction set and classificaion
instruction set and classificaion
 
8085 microprocessor(1)
8085 microprocessor(1)8085 microprocessor(1)
8085 microprocessor(1)
 
Architecture of 8085
Architecture of  8085Architecture of  8085
Architecture of 8085
 
EE2356 Microprocessor and Microcontroller Lab Manuel
EE2356 Microprocessor and Microcontroller Lab ManuelEE2356 Microprocessor and Microcontroller Lab Manuel
EE2356 Microprocessor and Microcontroller Lab Manuel
 
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
 
Assembly language i
Assembly language iAssembly language i
Assembly language i
 
Qb microprocessors
Qb microprocessorsQb microprocessors
Qb microprocessors
 
Unit 2 Instruction set.pdf
Unit 2 Instruction set.pdfUnit 2 Instruction set.pdf
Unit 2 Instruction set.pdf
 
Assemblylanguageprogrammingof8085 100523023329-phpapp02
Assemblylanguageprogrammingof8085 100523023329-phpapp02Assemblylanguageprogrammingof8085 100523023329-phpapp02
Assemblylanguageprogrammingof8085 100523023329-phpapp02
 
8085 instruction-set
8085 instruction-set8085 instruction-set
8085 instruction-set
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
microprocessor ppt (branching and logical instructions)
microprocessor ppt (branching and logical instructions)microprocessor ppt (branching and logical instructions)
microprocessor ppt (branching and logical instructions)
 
INTEL 8085 DATA FORMAT AND INSTRUCTIONS
INTEL 8085 DATA FORMAT AND INSTRUCTIONSINTEL 8085 DATA FORMAT AND INSTRUCTIONS
INTEL 8085 DATA FORMAT AND INSTRUCTIONS
 
Chapter 3 instruction set-of-8085
Chapter 3 instruction set-of-8085Chapter 3 instruction set-of-8085
Chapter 3 instruction set-of-8085
 

Recently uploaded

Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 

Recently uploaded (20)

Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 

8085 instruction-set part 1

  • 40.  PSW (Program Status word)  - Flag unaffected  * affected  0 reset  1 set  S Sign (Bit 7)  Z Zero (Bit 6)  AC Auxiliary Carry (Bit 4)  P Parity (Bit 2)  CY Carry (Bit 0) 8085 Instruction Set 40
  • 57. 8085 Instruction Set 57  circular Left shift
  • 58.  CIRCULAR RIGHT SHIFT 58
  • 72. Summary – Data transfer  MOV Move  MVI Move Immediate  LDA Load Accumulator Directly from Memory  STA Store Accumulator Directly in Memory  LHLD Load H & L Registers Directly from Memory  SHLD Store H & L Registers Directly in Memory 8085 Instruction Set 72
  • 73. Summary Data transfer  An 'X' in the name of a data transfer instruction implies that it deals with a register pair (16-bits);  LXI Load Register Pair with Immediate data  LDAX Load Accumulator from Address in Register Pair  STAX Store Accumulator in Address in Register Pair  XCHG Exchange H & L with D & E  XTHL Exchange Top of Stack with H & L 8085 Instruction Set 73
  • 74. Summary - Arithmetic Group  Add, Subtract, Increment / Decrement data in registers or memory.  ADD Add to Accumulator  ADI Add Immediate Data to Accumulator  ADC Add to Accumulator Using Carry Flag  ACI Add Immediate data to Accumulator Using Carry  SUB Subtract from Accumulator  SUI Subtract Immediate Data from Accumulator  SBB Subtract from Accumulator Using Borrow (Carry) Flag  SBI Subtract Immediate from Accumulator Using Borrow (Carry) Flag  INR Increment Specified Byte by One  DCR Decrement Specified Byte by One  INX Increment Register Pair by One  DCX Decrement Register Pair by One  DAD Double Register Add; Add Content of Register Pair to H & L Register Pair 8085 Instruction Set 74
  • 75. Summary Logical Group  This group performs logical (Boolean) operations on data in registers and memory and on condition flags.  These instructions enable you to set specific bits in the accumulator ON or OFF.  ANA Logical AND with Accumulator  ANI Logical AND with Accumulator Using Immediate Data  ORA Logical OR with Accumulator  OR Logical OR with Accumulator Using Immediate Data  XRA Exclusive Logical OR with Accumulator  XRI Exclusive OR Using Immediate Data 8085 Instruction Set 75
  • 76.  The Compare instructions compare the content of an 8-bit value with the contents of the accumulator;  CMP Compare  CPI Compare Using Immediate Data  The rotate instructions shift the contents of the accumulator one bit position to the left or right:  RLC Rotate Accumulator Left  RRC Rotate Accumulator Right  RAL Rotate Left Through Carry  RAR Rotate Right Through Carry  Complement and carry flag instructions:  CMA Complement Accumulator  CMC Complement Carry Flag  STC Set Carry Flag 8085 Instruction Set 76
  • 77. Summary - Branch Group  Unconditional branching  JMP Jump  CALL Call  RET Return  Conditions  NZ Not Zero (Z = 0)  Z Zero (Z = 1)  NC No Carry (C = 0)  C Carry (C = 1)  PO Parity Odd (P = 0)  PE Parity Even (P = 1)  P Plus (S = 0)  M Minus (S = 1)  Conditional branching 8085 Instruction Set 77
  • 78. Summary - Stack  PUSH Push Two bytes of Data onto the Stack  POP Pop Two Bytes of Data off the Stack  XTHL Exchange Top of Stack with H & L  SPHL Move content of H & L to Stack Pointer 8085 Instruction Set 78
  • 79. I/0 instructions  IN Initiate Input Operation  OUT Initiate Output Operation 8085 Instruction Set 79
  • 80. Summary -Machine Control instructions  EI Enable Interrupt System  DI Disable Interrupt System  HLT Halt  NOP No Operation 8085 Instruction Set 80
  • 81.  Which is the microprocessor comprises:  a. Register section b. One or more ALU c. Control unit d. All of these  2) What is the store by register?  a. data b. operands c. memory d. None of these 3) Accumulator based microprocessor example are: a. Intel 8085 b. Motorola 6809 c. A and B d. None of these  4) A set of register which contain are: a. data b. memory addresses c. result d. all of these 5) There are primarily two types of register: a. general purpose register b. dedicated register c. A and B d. none of these 6) Name of typical dedicated register is: a. PC b. IR c. SP d. All of these 8085 Instruction Set 81
  • 82.  In which of these modes, the immediate operand is included in the instruction itself? a) register operand mode b) immediate operand mode c) register and immediate operand mode d) none of the mentioned 8085 Instruction Set 82
  • 83.  In register address mode, the operand is stored in a) 8-bit general purpose register b) 16-bit general purpose register c) si or di d) all of the mentioned 8085 Instruction Set 83
  • 84.  In register address mode, the operand is stored in a) 8-bit general purpose register b) 16-bit general purpose register c) si or di d) all of the mentioned 8085 Instruction Set 84
  • 85.  . Which category of microprocessor instructions detect the status conditions in registers and accordingly exhibit the variations in program sequence on the basis of detected results? a. Transfer Instructions b. Operation Instructions c. Control Instructions d. All of the above 8085 Instruction Set 85
  • 86.  . Which category of microprocessor instructions detect the status conditions in registers and accordingly exhibit the variations in program sequence on the basis of detected results? a. Transfer Instructions b. Operation Instructions c. Control Instructions d. All of the above 8085 Instruction Set 86
  • 87.  The push and pop instructions belonging to the category of transfer instructions of microprocessor perform data transformation between _______. a. two registers b. processor register and memory stack c. processor register and interface register d. interface register and memory word 8085 Instruction Set 87
  • 88.  The push and pop instructions belonging to the category of transfer instructions of microprocessor perform data transformation between _______. a. two registers b. processor register and memory stack c. processor register and interface register d. interface register and memory word 8085 Instruction Set 88
  • 89.  Which addressing mode execute its instructions within CPU without the necessity of reference memory for operands? a. Implied Mode b. Immediate Mode c. Direct Mode d. Register Mode 8085 Instruction Set 89
  • 90.  Which addressing mode execute its instructions within CPU without the necessity of reference memory for operands? a. Implied Mode b. Immediate Mode c. Direct Mode d. Register Mode 8085 Instruction Set 90
  • 91.  Flag register is an 8-bit register having __________ 1-bit flip- flops.  A. 3 B. 4 C. 5 D. 6 8085 Instruction Set 91
  • 92.  What is true about Program counter?  A. It is an 8-bit register, which holds the temporary data of arithmetic and logical operations. B. When an instruction is fetched from memory then it is stored in the program counter C. It provides timing and control signal to the microprocessor D. It is a 16-bit register used to store the memory address location of the next instruction to be executed. 8085 Instruction Set 92
  • 93.  What is true about Program counter?  A. It is an 8-bit register, which holds the temporary data of arithmetic and logical operations. B. When an instruction is fetched from memory then it is stored in the program counter C. It provides timing and control signal to the microprocessor D. It is a 16-bit register used to store the memory address location of the next instruction to be executed. 8085 Instruction Set 93
  • 94.  This signal indicates that another master is requesting the use of the address and data buses.  A. READY B. HOLD C. HLDA D. INTA 8085 Instruction Set 94
  • 95.  This signal indicates that another master is requesting the use of the address and data buses.  A. READY B. HOLD C. HLDA D. INTA 8085 Instruction Set 95
  • 96.  Which of the following is true about Control and status signals?  A. These signals are used to identify the nature of operation. B. There are 3 control signal and 3 status signals. C. Three status signals are IO/M, S0 & S1. D. All of the above 8085 Instruction Set 96
  • 97.  Which of the following is true about Control and status signals?  A. These signals are used to identify the nature of operation. B. There are 3 control signal and 3 status signals. C. Three status signals are IO/M, S0 & S1. D. All of the above 8085 Instruction Set 97
  • 98.  MVI K, 20F is an example of?  A. Immediate addressing mode B. Register addressing mode C. Direct addressing mode D. Indirect addressing mode 8085 Instruction Set 98
  • 99.  The microprocessor ___________ those instructions from the memory  A. Fetch B. Decode C. Execute D. None of the above 8085 Instruction Set 99
  • 100. WRITE A PROGRAM TO ADD THE CONTENT OF MEMORY LOCATION D00H AND D001H STORE ITS RESULT IN MEMORY LOCATION D005 8085 Instruction Set 100
  • 108. 8085 Instruction Set 108 Write a program to add two hexadecimal & decimal numbers.
  • 118. 8085 Instruction Set 118 105) The register section is related to______ of the computer: a. Processing b. ALU c. Main memory d. None of these 106) In Microprocessor one of the operands holds a special register called: lculator Dedicated Accumulator None of these 107) Which register is a temporary storage location: general purpose register dedicated register A and B ne of these 108) PC stands for: Program counter ints counter Paragraph counter Paint counter
  • 119. 8085 Instruction Set 119 105) The register section is related to______ of the computer: a. Processing b. ALU c. Main memory d. None of these 106) In Microprocessor one of the operands holds a special register called: lculator Dedicated Accumulator None of these 107) Which register is a temporary storage location: general purpose register dedicated register A and B ne of these 108) PC stands for: Program counter ints counter Paragraph counter Paint counter
  • 120. 8085 Instruction Set 120 113) How many parts of single address computer instruction : 2 3 4 114) Single address computer instruction has two parts: The operation code The operand A and B ne of these 115) LA stands for: Load accumulator ast accumulator Last accumulator None of these
  • 121. 8085 Instruction Set 121 113) How many parts of single address computer instruction : 2 3 4 114) Single address computer instruction has two parts: The operation code The operand A and B ne of these 115) LA stands for: Load accumulator ast accumulator Last accumulator None of these
  • 122. 8085 Instruction Set 122 116) Which are the flags of status register: Over flow flag Carry flag Half carry flag Zero flag terrupt flag Negative flag All of these
  • 123. 8085 Instruction Set 123 117) The carry is operand by: c D S O 118) The sign is operand by: s D C O 119) The zero is operand by: z D S O 120) The overflow is operand by: o D S C
  • 124. 8085 Instruction Set 124 121) _________ Stores the instruction currently being executed: Instruction register Current register Both a and b ne of these 122) In which register instruction is decoded prepared and ultimately executed: Instruction register rrent register Both a and b None of these 123) The status register is also called the____: a. Condition code register b. Flag register c. A and B d. None of these
  • 125. 8085 Instruction Set 125 121) _________ Stores the instruction currently being executed: Instruction register Current register Both a and b ne of these 122) In which register instruction is decoded prepared and ultimately executed: Instruction register rrent register Both a and b None of these 123) The status register is also called the____: a. Condition code register b. Flag register c. A and B d. None of these
  • 126. 8085 Instruction Set 126 132) The left side of any binary number is called: Least significant digit Most significant digit dium significant digit low significant digit 133) MSD stands for: Least significant digit Most significant digit dium significant digit low significant digit
  • 127. 8085 Instruction Set 127 132) The left side of any binary number is called: Least significant digit Most significant digit dium significant digit low significant digit 133) MSD stands for: Least significant digit Most significant digit dium significant digit low significant digit
  • 128. 8085 Instruction Set 128 WE stands for: Write enable Wrote enable ite envy None of these 144) MAR stands for: Memory address register Memory address recode cro address register None of these 145) MDR stands for: Memory data register Memory data recode cro data register None of these
  • 129. 8085 Instruction Set 129 WE stands for: Write enable Wrote enable ite envy None of these 144) MAR stands for: Memory address register Memory address recode cro address register None of these 145) MDR stands for: Memory data register Memory data recode cro data register None of these
  • 130. 8085 Instruction Set 130 DMA stands for: a. Direct memory access b. Direct memory allocation c. Data memory access d. Data memory allocation 148) The ____ place the data from a register onto the data bus: a. CPU b. ALU c. Both A and B d. None of these
  • 131. 8085 Instruction Set 131 DMA stands for: a. Direct memory access b. Direct memory allocation c. Data memory access d. Data memory allocation 148) The ____ place the data from a register onto the data bus: a. CPU b. ALU c. Both A and B d. None of these
  • 132. 8085 Instruction Set 132 151) The external device is connected to a pin called the ______ pin on the processor chip. Interrupt ansfer Both None of these 152) Which interrupt has the highest priority? INTR Trap RST6.5 none of these 153) In 8085 name the 16 bit registers? Stack pointer program counter a & b none of these
  • 133. 8085 Instruction Set 133 151) The external device is connected to a pin called the ______ pin on the processor chip. Interrupt ansfer Both None of these 152) Which interrupt has the highest priority? INTR trap RST6.5 none of these 153) In 8085 name the 16 bit registers? Stack pointer ogram counter a & b none of these