the JP instruction jumps to the given target when the parity flag is set and the JNP instruction jumps if it is not set.
In this context, the JP instruction takes control when the parity flag is set and the JNP instruction takes control when it's not set.