8085 Instruction Set
8085 Instruction Set
Ganesh K
Lecturer, KLEIT
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
MOV
MVI
LDA
STA
LHLD
Memory
SHLD
Memory
Move
Move Immediate
Load Accumulator Directly from Memory
Store Accumulator Directly in Memory
Load H & L Registers Directly from
Store H & L Registers Directly in
71
LXI
LDAX
STAX
XCHG
XTHL
72
73
74
The Compare instructions compare the content of an 8-bit value with the contents of the
accumulator;
CMP
CPI
Compare
Compare Using Immediate Data
The rotate instructions shift the contents of the accumulator one bit position to the left or
right:
RLC
RRC
RAL
RAR
CMA
CMC
STC
Complement Accumulator
Complement Carry Flag
Set Carry Flag
75
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
76
Summary - Stack
PUSH
POP
XTHL
SPHL
77
I/0 instructions
IN
OUT
78
EI
DI
HLT
NOP
79