Addressing Modes in 8085 Microprocessor
Addressing Modes in 8085 Microprocessor
Examples:
MVI B 45 (move the data 45H immediately to register B)
LXI H 3050 (load the H-L pair with the operand 3050H immediately)
JMP address (jump to the operand address immediately)
Examples:
MOV A, B (move the contents of register B to register A)
ADD B (add contents of registers A and B and store the result in register A)
INR A (increment the contents of register A by one)
Examples:
LDA 2050 (load the contents of memory location into accumulator A)
LHLD address (load contents of 16-bit memory location into H-L register
pair)
IN 35 (read the data from port whose address is 01)
Examples:
MOV A, M (move the contents of the memory location pointed by the H-L
pair to the accumulator)
LDAX B (move contains of B-C register to the accumulator)
LXIH 9570 (load immediate the H-L pair with the address of the location
9570)
Examples:
CMA (finds and stores the 1’s complement of the contains of accumulator A
in A)
RRC (rotate accumulator A right by one bit)
RLC (rotate accumulator A left by one bit)