INSTRUCTION SET OF
8085
MICROPROCESSOR
SUBMITTED BY- MAYANK BHATT
SUBMITTED TO- Ms. SHWETA SHREE
CONTENT:
INTRODUCTION
CLASSIFICATION OF INSTRUCTIONS
DATA TRANSFER INSTRUCTION
ARITHEMATIC INSTRUCTIONS
LOGICAL INSTRUCTIONS
BRANCHING INSTRUCTION
MACHINE INSTRUCTIONS
INTRODUCTION:
• The entire group of instructions that microprocessor can perform.
• These determine the functionality of the microprocessor.
• 8085 has 246 instructions.
CLASSIFICATION
Instruction set
of 8085
microprocessor
Data transfer
instructions
Arithmetic
instruction
Logical
instruction
Branching
instruction
Machine-
control
instruction
DATA TRANSFER INSTRUCTION
These instructions move data between registers, or between memory and
registers.
These instructions copy data from source to destination.
 While copying, the contents of source are not modified.
These instructions include MOV, MVI, LDA, LDAX, STA, LXI, LHLD,STAX,
XCHG
EX-MOV A,B , LDA 2034H, LDAX B, STA 2500H,
ARITHMETIC INSTRUCTION
These instructions perform the operations like:
Addition:
Any 8-bit number, or the contents of register, or the contents of
memory location can be added to the contents of accumulator.
The result (sum) is stored in the accumulator.
EX- ADD A,ADI 27H
Subtraction:
Any 8-bit number, or the contents of register, or the contents of
memory location can be subtracted from the contents of accumulator.
 The result is stored in the accumulator.
 Subtraction is performed in 2’s complement form.
 If the result is negative, it is stored in 2’s complement form.
Increment/Decrement:
The 8-bit contents of a register or a memory location can be
incremented or decremented by 1.
 The 16-bit contents of a register pair can also be incremented or
decremented by 1.
Increment or decrement can be performed on any register or a
memory location.
LOGICAL INSTRUCTION
These instructions perform logical operations on data stored in
registers, memory and status flags.
The logical operations are:
AND, OR, XOR:
Any 8-bit number, or the contents of a register, or of a memory
location can be logically ANDed, ORed, XORed with the contents of
accumulator.
 Compare:
Any 8-bit number , or the contents of a register , or a memory location
can be compared for equality , greater then or less then, with the
contents of accumulator.
EX-
Complement:
The contents of accumulator can be complemented.
Each 0 is replaced by 1 and each 1 is replaced by 0.
BRANCHING INSTRUCTION
 The branching instruction alter the normal sequential flow.
 These instructions alter either unconditionally or conditionally
 Jump:
 These instructions test for a certain condition(e.g., Zero or Carry flag)
and alter the program sequence when the condition is met.
 EX-JMP 2050H,JZ 2050H,JNZ 2050H,JC 2025H,JNC 2025H
 Call, Return and Restart:
 CALL: It changes the program sequence to the location of a subroutine. EX- CALL 2075H
 RETURN Return to the calling program after the sub routine sequence. EX- RET
 Machine instruction:
These instructions control machine instructions such as Halt, Interrupt
, or do nothing.
EX- HLT, NOP
Instruction set

Instruction set

  • 1.
    INSTRUCTION SET OF 8085 MICROPROCESSOR SUBMITTEDBY- MAYANK BHATT SUBMITTED TO- Ms. SHWETA SHREE
  • 2.
    CONTENT: INTRODUCTION CLASSIFICATION OF INSTRUCTIONS DATATRANSFER INSTRUCTION ARITHEMATIC INSTRUCTIONS LOGICAL INSTRUCTIONS BRANCHING INSTRUCTION MACHINE INSTRUCTIONS
  • 3.
    INTRODUCTION: • The entiregroup of instructions that microprocessor can perform. • These determine the functionality of the microprocessor. • 8085 has 246 instructions.
  • 4.
    CLASSIFICATION Instruction set of 8085 microprocessor Datatransfer instructions Arithmetic instruction Logical instruction Branching instruction Machine- control instruction
  • 5.
    DATA TRANSFER INSTRUCTION Theseinstructions move data between registers, or between memory and registers. These instructions copy data from source to destination.  While copying, the contents of source are not modified. These instructions include MOV, MVI, LDA, LDAX, STA, LXI, LHLD,STAX, XCHG EX-MOV A,B , LDA 2034H, LDAX B, STA 2500H,
  • 6.
    ARITHMETIC INSTRUCTION These instructionsperform the operations like: Addition: Any 8-bit number, or the contents of register, or the contents of memory location can be added to the contents of accumulator. The result (sum) is stored in the accumulator. EX- ADD A,ADI 27H
  • 7.
    Subtraction: Any 8-bit number,or the contents of register, or the contents of memory location can be subtracted from the contents of accumulator.  The result is stored in the accumulator.  Subtraction is performed in 2’s complement form.  If the result is negative, it is stored in 2’s complement form.
  • 8.
    Increment/Decrement: The 8-bit contentsof a register or a memory location can be incremented or decremented by 1.  The 16-bit contents of a register pair can also be incremented or decremented by 1. Increment or decrement can be performed on any register or a memory location.
  • 9.
    LOGICAL INSTRUCTION These instructionsperform logical operations on data stored in registers, memory and status flags. The logical operations are: AND, OR, XOR: Any 8-bit number, or the contents of a register, or of a memory location can be logically ANDed, ORed, XORed with the contents of accumulator.
  • 10.
     Compare: Any 8-bitnumber , or the contents of a register , or a memory location can be compared for equality , greater then or less then, with the contents of accumulator. EX- Complement: The contents of accumulator can be complemented. Each 0 is replaced by 1 and each 1 is replaced by 0.
  • 11.
    BRANCHING INSTRUCTION  Thebranching instruction alter the normal sequential flow.  These instructions alter either unconditionally or conditionally  Jump:  These instructions test for a certain condition(e.g., Zero or Carry flag) and alter the program sequence when the condition is met.  EX-JMP 2050H,JZ 2050H,JNZ 2050H,JC 2025H,JNC 2025H  Call, Return and Restart:  CALL: It changes the program sequence to the location of a subroutine. EX- CALL 2075H  RETURN Return to the calling program after the sub routine sequence. EX- RET
  • 12.
     Machine instruction: Theseinstructions control machine instructions such as Halt, Interrupt , or do nothing. EX- HLT, NOP