Professional Documents
Culture Documents
Addressing Mode and Condition Instruction of 8085
Addressing Mode and Condition Instruction of 8085
->Addressing modes in a microprocessor refer to the various ->The 8085 microprocessor has a set of conditional
ways in which the processor can specify the operand for an instructions that allow the execution of certain operations
instruction. Each instruction in a computer's instruction set based on the condition of the flags in the flags register. Here
requires operands (data) to operate on, and addressing modes are some of the conditional instructions in the 8085
define how these operands are specified. The 8085 microprocessor: Jump Instructions:
microprocessor, which is an 8-bit microprocessor developed by
Intel, supports various addressing modes. Here are some
common addressing modes for the 8085: JMP: Unconditional Jump. It transfers control to the
specified address without any condition.
Immediate addressing mode:- In this mode, the
JC (Jump if Carry): Jumps to the specified address
8/16-bit data is specified in the instruction itself as
if the carry flag is set.
one of its operand. For example: MVI K, 20F: means 20F
is copied into register K. JNC (Jump if No Carry): Jumps to the specified
address if the carry flag is not set.
Register addressing mode:- In this mode, the data JZ (Jump if Zero): Jumps to the specified address if
is copied from one register to another. For the zero flag is set.
example: MOV K, B: means data in register B is copied JNZ (Jump if Not Zero): Jumps to the specified
to register K. address if the zero flag is not set.
JM (Jump if Minus): Jumps to the specified address
Direct addressing mode:- In this mode, the data is if the sign flag is set (indicating a negative result).
directly copied from the given address to the JP (Jump if Plus): Jumps to the specified address if
register. For example: LDB 5000K: means the data at
the sign flag is not set (indicating a positive result).
address 5000K is copied to register B.
2. Call and Return Instructions: