Wednesday, 15 June 2016

Types of Instructions in 8085


8085 microprocessor follows 3 types of instructions;
1              1. Load/Store Instructions
·         Load/Store operations are those which move the data between a register in the processor and a memory location (or another register).
·         They are often collectively referred to as data movement instructions.
·         Examples for load/store instructions are:
LDA(Load Accumulator directly from memory), STA(Store the content of Accumulator in the specified memory location) and so forth.

2               2. Arithmetic/Logic Instructions
·         Arithmetic instructions provide the primary data processing capabilities of the computer.
·         Example for arithmetic/logic instructions are:
ADD(Add to Accumulator), SUB(Subtract from accumulator), AND, OR, EOR, etc.

3               3. Test/Branch Instructions
·         They provide the decision-making capabilities.
·         The test must often be performed on the result of some prior arithmetic/logic operation.
·         It determines whether the result was zero or non-zero, positive/negative or some other binary choice involving bits in any operand with the instruction.
·         Example: CMA (complement the content of accumulator)


1 comment: