- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
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 and Unconditional 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
Under unconditional jump instructions there is only one mnemonic i.e. JUMP. But 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 branching instructions in the following table –
Mnemonics, Operand | Opcode(in HEX) | Bytes |
---|---|---|
JC Label | DA | 3 |
JM Label | FA | 3 |
JMP Label | C3 | 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 Branching instructions with their meanings.
Opcode | Operand | Meaning | Explanation | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JMP | 16-bit address | Jump unconditionally | The program sequence is transferred to the memory address given in the operand. | |||||||||||||||||||||||||||
| 16-bit address | Jump conditionally | The program sequence is transferred to the memory address given in the operand based on the specified flag of the PSW. |
- Related Articles
- Conditional JUMP instructions in 8085 Microprocessor
- Unconditional JUMP instruction in 8085 Microprocessor
- Unconditional call and return instructions in 8085 Microprocessor
- Conditional call instructions in 8085 Microprocessor
- Conditional return instructions in 8085 Microprocessor
- Difference between call and jump instructions in 8085 Microprocessor
- IN and OUT instructions in 8085 Microprocessor
- Number of instructions in 8085 Microprocessor
- Restart instructions (RSTn) in 8085 Microprocessor
- Instructions to perform AND operation in 8085 Microprocessor
- Jump if carry (JC) in 8085 Microprocessor
- Jump if positive (JP) in 8085 Microprocessor
- Jump if minus (JM) in 8085 Microprocessor
- Instructions to perform addition in 8085 Microprocessor
- Instructions to rotate Accumulator in 8085 Microprocessor
