Explain 8085 branch instructions with suitable examples.
JMP | 2030H | jump unconditionally to 16-bit address | |
JZ | 2030H | jump if zero | Z = 1 |
JC | label | jump if carry | CY = 1 |
JNC | label | jump if not carry | CY = 0 |
JP | label | jump if positive | S = 0 |
JM | label | jump if minus | S = 1 |
JNZ | label | jump if not zero | Z = 0 |
JPE | label | jump if parity even | P = 1 |
JPO | label | jump if parity odd | P = 0 |
CALL | 2030H | Call unconditionally | |
RET | return unconditionally to main program |
CONTROL INSTRUCTION
NOT | No operation |
HLT | Halt cpu finish executing current instruction |
DI | Disable interrupt |
EI | Enable interrupt |
Follow Us