beautypg.com

8085a instruction set summary (cont’d) – Elenco MicroMaster ® Computer Training Kit User Manual

Page 73

background image

8-18

8085A INSTRUCTION SET SUMMARY (Cont’d)

Instruction Code (1)

Mnemonic

Description

D

7

D

6

D

5

D

4

D

3

D

2

D

1

D

0

STACK OPS

PUSH B

Push register Pair B & C on stack

1

1

0

0

0

1

0

1

PUSH D

Push register Pair D & E on stack

1

1

0

1

0

1

0

1

PUSH H

Push register Pair H & L on stack

1

1

1

0

0

1

0

1

PUSH PSW

Push A and Flags on stack

1

1

1

1

0

1

0

1

POP B

POP register Pair B & C off stack

1

1

0

0

0

0

0

1

POP D

POP register Pair D & E off stack

1

1

0

1

0

0

0

0

POP H

POP register Pair H & L off stack

1

1

1

0

0

0

0

1

POP PSW

POP A and Flags off stack

1

1

1

1

0

0

0

1

XTHL

Exchange top of stack, H & L

1

1

1

0

0

0

1

1

SPHL

H & L to stack pointer

1

1

1

1

1

0

0

1

LXI SP

Load immediate stack pointer

0

0

1

1

0

0

0

1

INX SP

Increment stack pointer

0

0

1

1

0

0

1

1

DCX SP

Decrement stack pointer

0

0

1

1

1

0

1

1

JUMP

JMP

Jump unconditional

1

1

0

0

0

0

1

1

JC

Jump on carry

1

1

0

1

1

0

1

0

JNC

Jump on no carry

1

1

0

1

0

0

1

0

JZ

Jump on zero

1

1

0

0

1

0

1

0

JNZ

Jump on no zero

1

1

0

0

0

0

1

0

JP

Jump on positive

1

1

1

1

0

0

1

0

JM

Jump on minus

1

1

1

1

1

0

1

0

JPE

Jump on parity even

1

1

1

0

1

0

1

0

JPO

Jump on parity odd

1

1

1

0

0

0

1

0

PCHL

H & L to program counter

1

1

1

0

1

0

0

1

CALL

CALL

Call unconditional

1

1

0

0

1

1

0

1

CC

Call on carry

1

1

0

1

1

1

0

0

CNC

Call on no carry

1

1

0

1

0

1

0

0

CZ

Call on zero

1

1

0

0

1

1

0

0

CNZ

Call on no zero

1

1

0

0

0

1

0

0

CP

Call on positive

1

1

1

1

0

1

0

0

CM

Call on minus

1

1

1

1

1

1

0

0

CPE

Call on parity even

1

1

1

0

1

1

0

0

CPO

Call on parity odd

1

1

1

0

0

1

0

0

RETURN

RET

Return

1

1

0

0

1

0

0

1

RC

Return on carry

1

1

0

1

1

0

0

0

RNC

Return on no carry

1

1

0

1

0

0

0

0

RZ

Return on zero

1

1

0

0

1

0

0

0

RNZ

Return on no zero

1

1

0

0

0

0

0

0

RP

Return on positive

1

1

1

1

0

0

0

0

RM

Return on minus

1

1

1

1

1

0

0

0

RPE

Return on parity even

1

1

1

0

1

0

0

0

RPO

Return on parity odd

1

1

1

0

0

0

0

0

RESTART

RST

Restart

1

1

A

A

A

1

1

1

INPUT/OUTPUT

IN

Input

1

1

0

1

1

0

1

1

OUT

Output

1

1

0

1

0

0

1

1

INCREMENT AND DECREMENT

INR r

Increment register

0

0

D

D

D

1

0

0

DCR r

Decrement register

0

0

D

D

D

1

0

1

INR M

Increment memory

0

0

1

1

0

1

0

0

DCR M

Decrement memory

0

0

1

1

0

1

0

1

INX B

Increment B & C registers

0

0

0

0

0

0

1

1

INX D

Increment D & E registers

0

0

0

1

0

0

1

1

INX H

Increment H & L registers

0

0

1

0

0

0

1

1