- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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 |
- Related Articles
- Conditional JUMP instructions in 8085 Microprocessor
- Conditional call instructions in 8085 Microprocessor
- Conditional and Unconditional JUMP instructions in 8085 Microprocessor
- Unconditional call and return instructions in 8085 Microprocessor
- Number of instructions in 8085 Microprocessor
- Restart instructions (RSTn) in 8085 Microprocessor
- IN and OUT instructions in 8085 Microprocessor
- Instructions to perform addition in 8085 Microprocessor
- Instructions to rotate Accumulator in 8085 Microprocessor
- Instructions to perform subtraction in 8085 Microprocessor
- Instructions to perform AND operation in 8085 Microprocessor
- Instructions to perform OR operation in 8085 Microprocessor
- Instructions to perform compare operation in 8085 Microprocessor
- Instructions to perform Exclusive OR operation in 8085 Microprocessor
- Instructions to complement/set Cy flag in 8085 Microprocessor

Advertisements