0% found this document useful (0 votes)
657 views4 pages

8085 Instruction Set

The document summarizes the instruction set of the 8085 microprocessor. It lists all the move, arithmetic, logical, jump, call, and stack instructions. It also includes instructions for loading immediate values, incrementing/decrementing registers, rotating bits, and input/output operations.

Uploaded by

Zahid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
657 views4 pages

8085 Instruction Set

The document summarizes the instruction set of the 8085 microprocessor. It lists all the move, arithmetic, logical, jump, call, and stack instructions. It also includes instructions for loading immediate values, incrementing/decrementing registers, rotating bits, and input/output operations.

Uploaded by

Zahid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

8085 INSTRUCTION SET

Move instructions

MOV A,A 7F MOV B,A 47 MOV C,A 4F


MOV A,B 7B MOV B,B 40 MOV C,B 48
MOV A,C 79 MOV B,C 41 MOV C,C 49
MOV A,D 7A MOV B,D 42 MOV C,D 4A
MOV A,E 7B MOV B,E 43 MOV C,E 4B
MOV A,H 7C MOV B,H 44 MOV C,H 4C
MOV A,L 7D MOV B,L 45 MOV C,L 4D
MOV A,M 7E MOV B,M 46 MOV C,E 4E

Move instrucions / Move immediate

MOV L,A 6F MOV M,A 77 MVI A, byte 3E


MOV L,B 68 MOV M,B 70 MVI B, byte 06
MOV L,C 69 MOV M,C 71 MVI C, byte 0E
MOV L,D 6A MOV M,D 72 MVI D, byte 16
MOV L,E 6B MOV M,E 73 MVI E, byte 1E
MOV L,H 6C MOV M,H 74 MVI H, byte 26
MOV L,L 6D MOV M,L 75 MVI L, byte 2E
MOV L,M 6E MOV M,M 76 MVI M, byte 36

Load immediate load/store Add instructions

LXI B, add 01 LDAX B 0A ADD A 87


LXI D, add 11 LDAX D 1A ADD B 80
LXI H, add 21 LHLD add 2A ADD C 81
LXI SP, add 31 LDA add 3A ADD D 82
STAX B 02 ADD E 83
STAX D 12 ADD H 84
SHLD add 22 ADD L 85
STA add 32 ADD M 86
Add instructions Subtract instructions
ADC A 8F SUB A 97 SBB A 9F
ADC B 88 SUB B 90 SBB B 98
ADC C 89 SUB C 91 SBB C 99
ADC D 8A SUB D 92 SBB D 9A
ADC E 8B SUB E 93 SBB E 9B
ADC H 8C SUB H 94 SBB H 9C
ADC L 8D SUB L 95 SBB L 9D
ADC M 8E SUB M 96 SBB M 9E

Decrement specials
DCR A 3D DCX B 08 DAA 27
DCR B 05 DCX D 18 CMA 2F
DCR C 0D DCX H 28 STC 37
DCR D 15 DCX SP 3B CMC 3F
DCR E 1D
DCR H 25
DCR L 2D
DCR M 35

Double add Increment


DAD B 09 INR A 3C INX B 03
DAD D 19 INR B 04 INX D 13
DAD H 29 INR C 0C INX H 23
DAD SP 39 INR D 14 INX SP 33
INR E 1C
INR H 24
INR L 2C
INR M 34
Rotate Logical instructions

RLC 07 ANA A A7 XRA A AF


RRC 0F ANA B A0 XRA B A8
RAL 17 ANA C A1 XRA C A9
RAR 1F ANA D A2 XRA D AA
ANA E A3 XRA E AB
ANA H A4 XRA H AC
ANA L A5 XRA L AD
ANA M A6 XRA M AE

Logical instructions Arith & logical immediate

ORA A B7 CMP A BF ADI byte C6


ORA B B0 CMP B B8 ACI byte CE
ORA C B1 CMP C B9 SUI byte D6
ORA D B2 CMP D BA SBI byte DE
ORA E B3 CMP E BB ANI byte E6
ORA H B4 CMP H BC XRI byte EE
ORA L B5 CMP L BD ORI byte F6
ORA M B6 CMP M BE CPI byte FE

Jump call return

JMP adr C3 CALL adr CD RET C9


JNZ adr C2 CNZ adr C4 RNZ C0
JZ adr CA CZ adr CC RZ C8
JNC adr D2 CNC adr D4 RNC D0
JC adr DA CC adr DC RC D8
JPO adr E2 CPO adr E4 RPO E0
JPE adr EA CPE adr EC RPE E8
JP adr F2 CP adr F4 RP F0
JM adr FA CM adr FC RM F8
PCHL E9
Restart stack op’s Miscellaneous

RST 0 C7 PUSH B C5 XTHL E3


RST 1 CF PUSH D D5 SPHL F9
RST 2 D7 PUSH H E5 NOP 00
RST 3 DF PUSH PSW F5 OUT byte D3
RST 4 E7 POP B C1 IN byte DB
RST 5 EF POP D D1 HLT 76
RST 6 F7 POP H E1 DI F3
RST 7 FF POP PSW F1 EI FB
SIM 30

You might also like