You are on page 1of 4

Table 1 8085 Data transfer instruction set summary Opcode MOV MOV MOV MVI MVI LDA LDAX

LDAX LXI LXI LXI LXI LHLD STA STAX STAX SHLD XCHG Operand Rd, Rs M, Rs Rd, M Rd, data M, data 16 bit address B D B D H SP 16 bit address 16 bit address B D Functions Move register to register Move register to memory Move memory to register Move immediate register Move immediate memory Load A direct Load A indirect Load A direct Load immediate register Pair B &C Load immediate register Pair D &E Load immediate register Pair H &L Load immediate stack pointer Load H & L direct Load A direct Store A indirect Store A indirect Store H & L direct Exchange D & E H & L registers Clock cycle 4 7 7 7 10 13 7 7 10 10 10 10 16 13 7 7 16 4 Number of bytes 1 1 1 2 2 3 1 1 3 3 3 3 3 3 1 1 1 1 Instruction code
0 1 D D D S S S 0 1 110 S SS 0 1 D D 110 0 0 D D D 110

001 10110 00 111010 00001010 00011010 00000001 00010001 00100001 00110001 00101010 00110010 00000010 00010010 00100010 11101011

Table 2 8085Arithmetic instruction set summary Opcode ADD ADD ADC ADC ADI ACI DAD DAD DAD DAD SUB SUB SBB SBB SUI SBI INR INR INX INX INX INX DCR DCR DCX DCX DCX DCX DAA Operand R M R M 8-bit data 8-bit data B D H SP R M R M 8-bit data 8-bit data R M B D H SP R M B D H SP Functions
Add register to A Add memory to A Add register to A with carry Add memory to A with carry Add immediate to A Add immediate to A with carry Add B & C to H & L Add D & E to H & L Add H & L to H & L Add stack pointer to H & L

Clock cycle 4 7 4 7 7 7 10 10 10 10 4 7 4 7 7 7 4 10 6 6 6 6 4 10 6 6 6 6 4

Number of bytes 1 1 1 1 2 2 1 1 1 1 1 1 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1

Instruction code 1 1 1 1 1 1 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 D 1 0 0 1 1 D 1 0 0 1 1 1 0 0 0 0 0 0 0 1 0 1 1 1 1 1 1 1 D 1 0 1 0 1 D 1 0 1 0 1 0 0 0 1 1 0 1 1 1 1 1 0 0 1 1 0 1 D 0 0 0 0 0 D 0 1 1 1 1 0 S 1 S 1 1 1 0 0 0 0 S 1 S 1 1 1 1 1 0 0 0 0 1 1 0 0 0 0 1 S 1 S 1 1 1 0 0 0 0 S 1 S 1 1 1 0 0 1 1 1 1 0 0 1 1 1 1 1 S 0 S 0 0 0 1 1 1 1 S 0 S 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1

Subtract register from A Subtract memory from A Subtract register from A with borrow Subtract memory from A with borrow Subtract immediate from A Subtract immediate from A with borrow Increment register Increment memory Increment B & C registers Increment D & E registers Increment H & L registers Increment stack pointer Decrement register Decrement memory Decrement B & C registers Decrement D & E registers Decrement H & L registers Decrement stack pointer Decimal adjustment

Table 3 8085 Logical instruction set summary Opcode CMP CMP CPI ANA ANA ANI ORA ORA ORI XRA XRA XRI RLC RRC RAL RAR CMA CMC STC Operand R M 8 bit data R M 8 bit data R M 8 bit data R M 8 bit data Functions Compare register with A Compare memory with A Compare immediate with A AND register with A AND memory with A AND immediate with A OR register with A OR memory with A OR immediate with A Exclusive OR register with A Exclusive OR memory with A Exclusive OR immediate with A Rotate A left Rotate A right Rotate A left with carry Rotate A right with carry Complement A Complement carry Set carry Clock cycle 4 7 7 4 7 7 4 7 7 4 7 7 4 4 4 4 4 4 4 Number of bytes 1 1 2 1 1 2 1 1 2 1 1 2 1 1 1 1 1 1 1 Instruction code 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 1 1 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 1 0 0 0 1 1 1 0 0 0 0 0 1 1 0 1 1 1 0 1 0 0 0 0 0 0 1 1 1 0 1 0 1 1 1 0 S 1 1 S 1 1 S 1 1 S 1 1 1 1 1 1 1 1 1 S 1 1 S 1 1 S 1 1 S 1 1 1 1 1 1 1 1 1 S 0 0 S 0 0 S 0 0 S 0 0 1 1 1 1 1 1 1

Table 4 8085 JUMP instruction set summary Opcode JMP JC JNC JP JM JZ JNZ JPE JPO Operand 16-bit address 16-bit address 16-bit address 16-bit address 16-bit address 16-bit address 16-bit address 16-bit address 16-bit address Functions Jump unconditional 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 Clock cycle 10 7/10 7/10 7/10 7/10 7/10 7/10 7/10 7/10 Number of bytes 3 3 3 3 3 3 3 3 3 Instruction code 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 1 1 0 0 1 1 0 1 1 1 1 0 0 0 0 0 1 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0

Table 5 8085 CALL and Return instruction set summary Opcode CALL CC CNC CP CM CZ CNZ CPE CPO Operand 16-bit address 16-bit address 16-bit address 16-bit address 16-bit address 16-bit address 16-bit address 16-bit address 16-bit address Functions Call unconditional 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 Clock cycle 18 9/18 9/18 9/18 9/18 9/18 9/18 9/18 9/18 Number of bytes 3 3 3 3 3 3 3 3 3 Instruction code 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 1 1 0 0 1 1 0 1 1 1 1 0 0 0 0 1 1 0 0 1 1 0 1 0 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0

RET RC RNC RP RM RZ RNZ RPE RPO

Return unconditional 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

10 6/12 6/12 6/12 6/12 6/12 6/12 6/12 6/12

1 1 1 1 1 1 1 1 1

1 1 1 1 1 1 1 1 1

1 1 1 1 1 1 1 1 1

0 0 0 1 1 0 0 1 1

0 1 1 1 1 0 0 0 0

1 1 0 0 1 1 0 1 0

0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0

1 0 0 0 0 0 0 0 0

Table 6 8085 Stack/PUSH and POP instructions set summary Opcode PUSH PUSH PUSH PUSH POP POP POP POP XTHL SPHL Operand B D H PSW B D H PSW Functions Push register pair Band C on stack Push register pair D and E on stack Push register pair H and L on stack Push accumulator A and Flags on stack Pop register pair Band C off stack Pop register pair D and E off stack Pop register pair H and L off stack Pop accumulator A and Flags off stack Exchange top of stack H and L H and L to stack pointer Clock cycle 12 12 12 12 10 10 10 10 16 6 Number of bytes 1 1 1 1 1 1 1 1 1 1 Instruction code 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 0 0 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 1 1 1 1 1 1 1

Table 7 8085 I/O and machine control instructions set summary Opcode EI DI NOP HLT RIM SIM IN OUT Operand Functions Enable interrupts Disable interrupts No-operation Halt(Power Down) Read interrupt mask Set interrupt musk Input output Clock cycle 4 4 4 5 4 4 10 10 Number of bytes 1 1 1 1 1 1 1 1 Instruction code 1 1 0 0 0 0 1 1 1 1 0 1 0 0 1 1 1 1 0 1 1 1 0 0 1 1 0 1 0 1 1 1 1 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 1 0 0 1 1 1 1 0 0 0 0 1 1

You might also like