<<< Jumping Based on the Processor Flags | Index | Jumps Based on Comparison of Two Values >>> |
JPE (Jump if Parity Even) and JPO (Jump if Parity Odd), are useful only for communications programs.
The processor sets the parity flag if an operation produces a result with an even number of set bits.
A communications program can compare the flag against the parity bit received through the serial port to test for transmission errors.
Parity flag generation with exclusive NOR gates
<<< Jumping Based on the Processor Flags | Index | Jumps Based on Comparison of Two Values >>> |