Conditional return instructions in 8085 Microprocessor


In 8085 Instruction set, depending upon one of the flag bit values (excluding AC flag bit), the conditional return instructions will branch the control to the next instruction of the call statement by popping out two return address Bytes (High-Byte and Low-Byte) from the top of the stack. The branch takes place based on the value of Cy flag, Z flag, P flag, or S flag. There is no conditional return instruction based on the value of AC (Auxiliary Carry) flag bit. This is because generally, no one is interested in branching back from the subroutine based on this flag bit value. The conditional return instructions are 1 Byte in length, 1 Byte for the opcode.

Mnemonics, Operand
Opcode(in HEX)
Bytes
RZ
C8
1
RPO
E0
1
RPE
E8
1
RP
F0
1
RNZ
C0
1
RNC
D0
1
RM
F8
1
RC
D8
1


Updated on: 27-Jun-2020

2K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements