qa.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Jcondition
   Summary  Detail  Example  Timings Key  Encodings Key
──────────────────────────────────────────────────────────────────────────────
 
 0111cond       disp (1)
─────────────────────┬─────────────────────────┬────────────────────────────
                     │ jg    bigger            │ 88/86 16,noj=4
 Jcondition  label   │ jo    SHORT too_big     │ 286   7+m,noj=3
                     │ jpe   p_even            │ 386   7+m,noj=3
─────────────────────┴─────────────────────────┴────────────────────────────
 
 00001111     1000cond       disp (2)
─────────────────────┬─────────────────────────┬────────────────────────────
                     │ je    next              │ 88/86 ─
 Jcondition  label   │ jnae  lesser            │ 286   ─
                     │ js    negative          │ 386   7+m,noj=3
─────────────────────┴─────────────────────────┴────────────────────────────
 
JUMP CONDITIONS
 
Opcode        Mnemonic  Flags Checked   Description
──────────────────────────────────────────────────────────────────────────────
 
 size 0010    JB/JNAE   CF=1            Jump if below/not above or equal
 size 0011    JAE/JNB   CF=0            Jump if above or equal/not below
 size 0110    JBE/JNA   CF=1 or ZF=1    Jump if below or equal/not above
 size 0111    JA/JNBE   CF=0 and ZF=0   Jump if above/not below or equal
 size 0100    JE/JZ     ZF=1            Jump if equal (zero)
 size 0101    JNE/JNZ   ZF=0            Jump if not equal (not zero)
 size 1100    JL/JNGE   SF<>OF          Jump if less/not greater or equal
 size 1101    JGE/JNL   SF=OF           Jump if greater or equal/not less
 size 1110    JLE/JNG   ZF=1 or SF<>OF  Jump if less or equal/not greater
 size 1111    JG/JNLE   ZF=0 or SF=OF   Jump if greater/not less or equal
 size 1000    JS        SF=1            Jump if sign
 size 1001    JNS       SF=0            Jump if not sign
 size 0010    JC        CF=1            Jump if carry
 size 0011    JNC       CF=0            Jump if not carry
 size 0000    JO        OF=1            Jump if overflow
 size 0001    JNO       OF=0            Jump if not overflow
 size 1010    JP/JPE    PF=1            Jump if parity/parity even
 size 1011    JNP/JPO   PF=0            Jump if no parity/parity odd
 
Note: The size bits are 0111 for short jumps.
                                    -♦-