Instruction Set of 8085
Instruction Set of 8085
8085
Presented By
S.Vijayalakshmi B.E,
Assistant Professor,
Department of Computer Science,
Sri Sarada Niketan College for Women, Karur.
INSTRUCTION SET OF 8085
An Instruction is a command given to the computer to
perform a specified operation on given data.
The instruction set of a microprocessor is the collection
Logical Group
The Instructions under this group perform logical operation such
as AND, OR, compare, rotate etc.
Examples:
MOV A, B (move the contents of register B to
register A)
INR A (increment the contents of register A by one)
Direct Addressing Mode
In direct addressing mode, the data to be operated is
available inside a memory location and that memory
location is directly specified as an operand. The
operand is directly available in the instruction itself.
Examples:
LDA 2050 (load the contents of memory location
into accumulator A)
IN 35 (read the data from port whose address is 35)
Register Indirect Addressing Mode
In register indirect addressing mode, the data to be
operated is available inside a memory location and that
memory location is indirectly specified by a register
pair.
Examples:
Examples:
RRC (rotate accumulator A right by one bit)
RLC (rotate accumulator A left by one bit)
Features of the addressing modes
Immediate addressing
Direct addressing
Indirect addressing
Register addressing
Indexed addressing
Relative addressing
Memory-mapped I/O addressing
Advantages & Disadvantages
Advantages:
Versatility
Efficient memory usage
Easy to use
Improved performance
Disadvantages:
Complexity
Overhead
Debugging difficulties
Limitations
THANK YOU