You are on page 1of 2

8085 INSTRUCTION SET

INSTRUCTION SUMMARY
DATA TRANSFER INSTRUCTIONS
MOV
MVI
LDA
LDAX
LXI
LHLD
STA
STAX
SHLD
XCHG
SPHL
XTHL
PUSH
POP
OUT
IN

Copy from source to destination


Move immediate 8-bit
Load accumulator
Load accumulator indirect
Load register pair immediate
Load H and L registers direct
Store accumulator direct
Store accumulator indirect
Store H and L registers direct
Exchange H and L with D and E
Copy H and L registers to the stack pointer
Exchange H and L with top of stack
Push register pair onto stack
Pop of stack to register pair
Output data from accumulator to a port with 8-bit address
Input data to accumulator from a port with 8-bit address

ARITHMETIC INSTRUCTIONS
ADD
ADC
ADI
ACI
DAD
SUB
SBB
SUI
SBI
INR
INX
DCR
DCX
DAA

Add register or memory to accumulator


Add register to accumulator with carry
Add immediate to accumulator
Add immediate to accumulator with carry
Add register pair to H and L registers
Subtract register or memory from accumulator
Subtract source and borrow from accumulator
Subtract immediate from accumulator
Subtract immediate from accumulator with borrow
Increment register or memory by 1
Increment register pair by 1
Decrement register or memory by 1
Decrement register pair by 1
Decimal adjust accumulator

CONTROL INSTRUCTIONS
NOP
HLT
DI
EI
RIM
SIM

No operation
Halt
Disable interrupts
Enable interrupts
Read interrupt mask
Set interrupt mask

8085 Instruction Summary

Page 1

BRANCHING INSTRUCTIONS
JMP
JC
JNC
JP
JM
JZ
JNZ
JPE
JPO
CALL
CC
CNC
CP
CM
CZ
CNZ
CPE
CPO
RET
RC
RNC
RP
RM
RZ
RNZ
RPE
RPO
PCHL
RST

Jump unconditionally
Jump on carry
Jump on no carry
Jump on positive
Jump on minus
Jump on zero
Jump on no zero
Jump on parity even
Jump on parity odd
Call unconditionally
Call on carry
Call on no carry
Call on positive
Call on minus
Call on zero
Call on no zero
Call on parity even
Call on parity odd
Return unconditionally
Return on carry
Return on no carry
Return on positive
Return on minus
Return on zero
Return on no zero
Return on parity even
Return on parity odd
Load program counter with HL contents
Restart

LOGICAL INSTRUCTIONS
CMP
CPI
ANA
ANI
XRA
XRI
ORA
ORI
RLC
RRC
RAL
RAR
CMA
CMC
STC

Compare register or memory with accumulator


Compare immediate with accumulator
Logical AND register or memory with accumulator
Logical AND immediate with accumulator
Exclusive OR register or memory with accumulator
Exclusive OR immediate with accumulator
Logical OR register or memory with accumulator
Logical OR immediate with accumulator
Rotate accumulator left
Rotate accumulator right
Rotate accumulator left through carry
Rotate accumulator right through carry
Complement accumulator
Complement carry
Set carry

8085 Instruction Summary

Page 2

You might also like