Conditional call instructions in 8085 Microprocessor

Microprocessor8085

In 8085 Instruction set, depending upon one of the flag bit values (excluding AC flag bit), the conditional call instructions will branch to a subroutine. The branch takes place based on the value of Cy flag, Z flag, P flag, or S flag. There is no call instruction based on the value of AC(Auxiliary Carry) flag bit. This is because generally, no one is interested in branching to a subroutine based on this flag bit value. The conditional call instructions are 3 Bytes in length, 1 Byte for the opcode, and another 2 Bytes for the subroutine address i.e.low-order Byte and high-Byte of the address values.

Mnemonics, Operand
Opcode(in HEX)
Bytes
CC Label
DC
3
CM Label
FC
3
CNC Label
D4
3
CNZ Label
C4
3
CP Label
F4
3
CPE Label
EC
3
CPO Label
E4
3
CZ Label
CC
3




raja
Published on 27-Dec-2018 17:24:56
Advertisements