
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 Jump Instructions in 8085 Microprocessor
In 8085 Instruction set, there are a set of jump instructions, which can transfer program control to a certain memory location. So after these branching mnemonics, we shall have to mention 16-bit target address of the location. These jump instructions can be divided into two categories–
Unconditional jump instructions and
Conditional jump instructions
Here we shall discuss conditional jump instructions in details. Under conditional Jump instructions, we are having 8 different mnemonics. We know that there are 5 flag bits in 8085 Flag register. They are S, Z, P, Cy, AC. Out of them only on AC flag bit, there is no jump instruction. But for rest 4 flag bits, we are having 8 conditional jump instructions depending upon their 1 or 0 i.e. TRUE and FALSE values respectively. Here is the list of all conditional branching instructions in the following table –
Mnemonics, Operand |
Opcode(in HEX) |
Bytes |
---|---|---|
JC Label |
DA |
3 |
JM Label |
FA |
3 |
JNC Label |
D2 |
3 |
JNZ Label |
C2 |
3 |
JP Label |
F2 |
3 |
JPE Label |
EA |
3 |
JPO Label |
E2 |
3 |
JZ Label |
CA |
3 |
The following table shows the list of conditional jump instructions with their meanings.
Opcode |
Operand |
Meaning |
Explanation |
|||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
16-bit address |
Jumpconditionally |
The program sequence is transferred to the memory address given in the operand based on the specified flag of the PSW. |