8085 Instructions Flashcards

1
Q

Describe the Data Transfer (Copy) Operations

A

MOV (1 byte)
MOV B, C- copies data from C to B

MVI (1 byte)
MVI B,0001H- Loads 0001H to reg B

OUT (2 byte)
OUT 0002H- Sends contents of ACC (A) to output port 0002H

IN (2 byte)
IN 0034H- Reads data from the input port 0034H to the accumulator

HLT (1 byte)
Stop Execution and buses (data & address) are in high impedance state

NOP (1 byte)
No operation is performed. Used to increase processing time or in substitute of an instruction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Do example in 62

A

499

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe the arithmetic operations

A

ADD
ADD B- Adds the contents of B to A

ADI
ADI 0080H- Adds 0080H to A

SUB
SUB B- Subtracts the contents of B from A

SUI
SUI 0080H- Subtracts 0080H from A

INR
INR B- increases the content of B by 1

DCR
DCR B- decreases the content of B by 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Do example on 65

A

sd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Describe logical operations

A

ANA B- Logical AND B with the accumulator

ANI 0008H- Logical AND 0008H with the accumulator

ORA B- Logical OR B with the accumulator

ORI 0008H- Logical OR 0008H with the accumulator

XRA B- Exclusive-OR B with the accumulator

XRI 0008H-Exclusive-OR 0008H with the accumulator

CMA- Complement Accumulator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Do example from 69 to 71

A

djkds

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Describe the Branch Instructions

A

JC- jump on carry
JNC- jump on no carry
JZ-Jump on zero
JNZ- Jump on no zero
JP- Jump on plus
JM- Jump on Minus
JPE- Jump on even parity
JPO- jump on odd parity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

List the different categories of instructions

A

Logical
Branch
Arithmetic
Data Transfer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly