KEMBAR78
8085 Instruction Set Guide | PDF | Central Processing Unit | Computer Science
0% found this document useful (0 votes)
168 views3 pages

8085 Instruction Set Guide

This document provides information about various instructions for an 8-bit microprocessor, including the instruction name, operands, byte size, machine cycles, and a brief description of what each instruction does. It contains over 40 different instructions such as load, store, arithmetic, logic, and control flow instructions. The level of detail provided about the instruction set indicates this is a technical specification for a microprocessor.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
168 views3 pages

8085 Instruction Set Guide

This document provides information about various instructions for an 8-bit microprocessor, including the instruction name, operands, byte size, machine cycles, and a brief description of what each instruction does. It contains over 40 different instructions such as load, store, arithmetic, logic, and control flow instructions. The level of detail provided about the instruction set indicates this is a technical specification for a microprocessor.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Op- Machine- T-

Instruction code Operand Bytes cycles states Detail

ACI ACI 8 bit data 2 2 7 Add immediate to Accumulator with Carry

ADC ADC Reg., Mem. 1,1 1,2 4,7 Add register to accumulator with carry

ADD ADD Reg., Mem. 1,1 1,2 4,7 Add register to Accumulator

ADI ADI 8-bit, data 2 2 7 Add immediate to accumulator

ANA ANA Reg., mem. 1,1 1,2 4,7 Logical AND with Accumulator

ANI ANI 8-bit, data 2 2 7 AND immediate with accumulator

CALL CALL 16-bit address 3 5 18 Unconditional Subroutine call

CMA CMA None 1 1 4 Complement Accumulator

CMC CMC None 1 1 4 Complement Carry

CMP CMP Reg., Mem. 1,1 1,2 4,7 Compare with accumulator

CPI CPI 8-bit 2 2 7 Compare Immediate with accumulator

DAA DAA None 1 1 4 Decimal Adjust Accumulator

DAD DAD Reg.Pair 1 3 10 Add register pair to H and L registers

DCR DCR Reg., Mem. 1,1 1,3 4,10 Decrement source by 1

DCX DCX Reg. Pair 1 1 6 Decrement register pair by 1

DI DI None 1 1 4 Disable Interrupts

EI EI None 1 1 4 Enable Interrupts

HLT HLT None 1 >2 >5 Halt and enter wait state

IN IN 8-bit port address 2 3 10 Input data to accumulator from port with 8-bit address

INR INR Reg.,Mem. 1,1 1,3 4,10 Increment contents of register/Memory by 1

INX INX Reg. Pair 1 1 6 Increment register pair by 1

JMP JMP 16 bit 3 3 10 Jump unconditionally

LDA LDA 16 bit address 3 4 13 Load accumulator direct

LDAX LDAX B/D reg. Pair 1 2 7 Load accumulator indirect

LHLD LHLD 16 bit address 3 5 16 Load H and L registers direct

LXI LXI Reg. Pair, 16 bit data 3 3 10 Load Register Pair Immediate
MOV Rd,Rs 1 1 4
MOV M,Rs 2 7
MOV MOV Rd,M Move-copy from source to destination

Reg., Data 2 2 7
MVI MVI Mem., Data 2 3 10 Move immediate 8 bit

NOP NOP None 1 1 4 No Operation

ORA ORA Reg., Mem. 1,1 1,2 4,7 Logically OR with Accumulator

ORI ORI 8 bit data 2 2 7 Logically OR Immediate

OUT OUT 8-bit port address 2 3 10 Output Data from Accumulator to a port with 8 bit address

PCHL PCHL None 1 1 6 Load program counter with HL contents

POP POP Reg. pair 1 3 10 POP OFF Stack to register pair

PUSH PUSH Reg. pair 1 3 12 Push register pair into stack

RAL RAL None 1 1 4 Rotate accumulator left through carry

RAR RAR None 1 1 4 Rotate accumulator right through carry

RLC RLC None 1 1 4 Rotate Accumulator Left

RRC RRC None 1 1 4 Rotate Accumulator Right

RET RET None 1 3 10 Return from subroutine unconditionally

RIM RIM None 1 1 4 Read Interrupt Mask

SBB SBB Reg., Mem. 1,1 1,2 4,7 Substract source and borrow from accumulator

SBI SBI 8 bit data 2 2 7 Aubstract immediate with borrow

SHLD SHLD 16 bit address 3 5 16 Store H and L registers direct

SIM SIM None 1 1 4 Set Interrupt Mask

SPHL SPHL None 1 1 6 Copy H and L registers to the Stack pointer(SP)

STA STA 16 bit 3 4 13 Store Accumulator Direct

STAX STAX B/D reg. pair 1 2 7 Store Accumulator Indirect

STC STC None 1 1 4 Set Carry

SUB SUB Reg. , Mem. 1,1 1,2 4,7 Substract register or memory from Accumulator

SUI SUI 8 bit data 2 2 7 Substract immediate from accumulator

XCHG XCHG None 1 1 4 Exchange H and L with D and E

XRA XRA Reg., Mem. 1,1 1,2 4,7 Exclusive OR with accumulator
XRI XRI 8 bit data 2 2 7 Exclusive OR immediate with accumulator

XTHL XTHL None 1 5 16 Exchange H and L with top of stack

You might also like