8085 Microprocessor Branch Instructions YASH PAL, March 18, 2026March 18, 2026 8085 Microprocessor Branch Instructions – The branch instructions allow the microprocessor to change the sequence of a program, either unconditionally or under certain test conditions. Branch instructions are classified as: Unconditional Conditional Unconditional Branch Instructions JMP Address (16-bit)Jump unconditionally to the specified address and start execution from that address.OperationPC ← AddressLength3 bytesAddressing modeImmediate addressing modeFlagsFlags are not affected. CALL Address (16-bit)Jump unconditionally to the specified address after storing the address of the next instruction of the main program.Operation[SP – 1] ← PCH[SP – 1] ← PCLSP ← SP – 2PC ← addressLength3 bytesAddressing modeImmediate addressing modeFlagsFlags are not affected. RETReturn from the subroutine unconditionally. The returning address is obtained from the stack and loaded into the program counter (PC).OperationPCL ← [SP]PCH ← [SP + 1]SP ← SP + 2Length1 bytesAddressing modeIndirect addressing modeFlagsFlags are not affected. Conditional Branch Instructions J condition address (16-bit)Jump to the specific address if the condition is true.OperationIf the condition is true PC ← addressElse PC ← PC + 3Length3 bytesAddressing modeDirect addressing modeFlagsFlags are checked but not affected. The 8085 microprocessor has five flags. Out of these five, only four flags are available to the programmer to check the condition. The auxiliary carry (AC) flag is used internally and not available to the programmer to check the condition. Possible conditions for jump instruction are shown in the table below. InstructionConditionCommentsJC Address (16-bit)CY = 1Jump if carryJNC Address (16-bit)CY = 0Jump if no carryJZ Address (16-bit)Z = 1Jump if zeroJNZ Address (16-bit)Z = 0Jump if not zeroJP Address (16-bit)S = 0Jump if positiveJM Address (16-bit)S = 1Jump if minusJPE Address (16-bit)P = 1Jump if even parityJPO Address (16-bit)P = 0Jump if odd parityPossible conditions for the JMP instruction C condition address (16-bit)Call the subroutine at the specified address if the condition is true.OperationIf the condition is true [SP – 1] ← PCH [SP – 1] ← PCL PC ← AddressElse PC ← PC + 3Length3 bytesAddressing modeImmediate addressing modeFlagsFlags are checked but not affected. Possible conditions for all instructions are shown in the table below. InstructionConditionCommentsCC Address (16-bit)CY = 1Call if carryCNC Address (16-bit)CY = 0Call if no carryCZ Address (16-bit)Z = 1Call if zeroCNZ Address (16-bit)Z = 0Call if not zeroCP Address (16-bit)S = 0Call if positiveCM Address (16-bit)S = 1Call if negativeCPE Address (16-bit)P = 1Call if even parityCPO Address (16-bit)P = 0Call if odd parityPossible conditions for CALL instruction engineering subjects Microprocessor microprocessor