16 bit Assembly

Home   Site Map   Instruction Index  


J...   - Jump (conditional) Instruction

The J... instruction actions a conditional jump which generally follows a CMP instruction or an action that sets the flags (like DIV, MUL etc..).
This command has 2 parts, Instruction, then either a Register, Immediate value or a memory address.
These 8 bit near jumps can jump up to 127 bytes forward or backward. Forward start at 0 to 79h, backward start from FF to 80h.

There are 32 J instructions, there can more than one letter following the J which denote the use. Many of these have the same or similar effects and therefore share the same Op Code.

Syntax: JE 0x03 ; Jump if Equal 3 bytes forward.


Instructions in Op Code sequence

Operates On   Instruction
70JO
71JNO
72JB, JC, JNAE
73JNB, JNC, JAE
74JZ, JE
75JNZ, JNE
76JBE, JNA
77JA, JNBE
78JS
79JNS
7AJP, JPE
7BJNP, JPO
7CJL, JNGE
7DJNL, JGE
7EJLE, JNG
7FJG, JNLE
E3JCXZ, JECXZ

Instructions according to use

Op Code   Instruction
CarryJC, JNC
OverflowJO, JNO
ParityJP, JNP, JPE, JPO
SignJS, JNS
LowerJL, JB, JLE, JNA, JNG, JNGE, JNAE, JBE
GreaterJG, JA, JGE, JNB, JNL, JNLE, JNBE, JAE
EqualJE, JNE
ZeroJZ, JNZ, JCXZ, JECXZ




Last Update 06/02/2023