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

Page 74

Advertising
background image

8-19

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

INCREMENT AND DECREMENT (cont’d)

DCX B

Decrement B & C

0

0

0

0

1

0

1

1

DCX D

Decrement D & E

0

0

0

1

1

0

1

1

DCX H

Decrement H & L

0

0

1

0

1

0

1

1

ADD

ADD r

Add register to A

1

0

0

0

0

S

S

S

ADC r

Add register to A with carry

1

0

0

0

1

S

S

S

ADD M

Add memory to A

1

0

0

0

0

1

1

0

ADC M

Add memory to A with carry

1

0

0

0

1

1

1

0

ADI

Add immediate to A

1

1

0

0

0

1

1

0

ACI

Add immediate to A with carry

1

1

0

0

1

1

1

0

DAD B

Add B & C to H & L

0

0

0

0

1

0

0

1

DAD D

Add D & E to H & L

0

0

0

1

1

0

0

1

DAD H

Add H & L to H & L

0

0

1

0

1

0

0

1

DAD SP

Add stack pointer to H & L

0

0

1

1

1

0

0

1

SUBTRACT

SUB r

Subtract register from A

1

0

0

1

0

S

S

S

SBB r

Subtract register from A with borrow

1

0

0

1

1

S

S

S

SUB M

Subtract memory from A

1

0

0

1

0

1

1

0

SBB M

Subtract memory from A with borrow

1

0

0

1

1

1

1

0

SUI

Subtract immediate from A

1

1

0

1

0

1

1

0

SBI

Subtract immediate from A with borrow

1

1

0

1

1

1

1

0

LOGICAL

ANA r

And register with A

1

0

1

0

0

S

S

S

XRA r

Exclusive OR register with A

1

0

1

0

1

S

S

S

ORA r

OR register with A

1

0

1

1

0

S

S

S

CMP r

Compare register with A

1

0

1

1

1

S

S

S

ANA M

And memory with A

1

0

1

0

0

1

1

0

XRA M

Exclusive OR memory with A

1

0

1

0

1

1

1

0

ORA M

OR memory with A

1

0

1

1

0

1

1

0

CMP M

Compare memory with A

1

0

1

1

1

1

1

0

ANI

And immediate with A

1

1

1

0

0

1

1

0

XRI

Exclusive OR immediate with A

1

1

1

0

1

1

1

0

ORI

OR immediate with A

1

1

1

1

0

1

1

0

CPI

Compare immediate with A

1

1

1

1

1

1

1

0

ROTATE

RLC

Rotate A left

0

0

0

0

0

1

1

1

RRC

Rotate A right

0

0

0

0

1

1

1

1

RAL

Rotate A left through carry

0

0

0

1

0

1

1

1

RAR

Rotate A right through carry

0

0

0

1

1

1

1

1

SPECIALS

CMA

Complement A

0

0

1

0

1

1

1

1

STC

Set carry

0

0

1

1

0

1

1

1

CMC

Complement carry

0

0

1

1

1

1

1

1

DAA

Decimal adjust A

0

0

1

0

0

1

1

1

CONTROL

EI

Enable interrupts

1

1

1

1

1

0

1

1

DI

Disable interrupt

1

1

1

1

0

0

1

1

NOP

No-operation

0

0

0

0

0

0

0

0

HLT

Halt

0

1

1

1

0

1

1

0

NEW 8085A INSTRUCTIONS

RIM

Read Interrupt Mask

0

0

1

0

0

0

0

0

SIM

Set Interrupt Mask

0

0

1

1

0

0

0

0

NOTES: 1 - DDS or SSS B 000, C 001, D 010, E011, H 100, L 101, Memory 110, A 111

2 - Two possible cycle times. (6/12) indicate instruction cycles dependent on condition flags.

Advertising