8086
Table 2. Instruction Set Summary (Continued)
Mnemonic and
Description
Instruction Code
JMP e Unconditional Jump:
Direct within Segment
Direct within
Indirect within Segment
Direct Intersegment
Indirect Intersegment
7 6 5 4 3 2 1 0 | 7 6 5 4 3 2 1 0 | 7 6 5 4 3 2 1 0 |
|
|
|
1 1 1 0 1 0 0 1 | ||
|
|
|
1 1 1 0 1 0 1 1 | disp |
|
|
|
|
1 1 1 1 1 1 1 1 | mod 1 0 0 r/m |
|
|
|
|
1 1 1 0 1 0 1 0 | ||
|
|
|
| ||
|
|
|
1 1 1 1 1 1 1 1 | mod 1 0 1 r/m |
|
RET e Return from CALL: |
|
|
|
Within Segment | 1 1 0 0 0 0 1 1 |
|
|
|
|
|
|
Within Seg Adding Immed to SP | 1 1 0 0 0 0 1 0 | ||
|
|
|
|
Intersegment | 1 1 0 0 1 0 1 1 |
|
|
|
|
|
|
Intersegment Adding Immediate to SP | 1 1 0 0 1 0 1 0 | ||
JE/JZ e Jump on Equal/Zero |
|
|
|
0 1 1 1 0 1 0 0 | disp |
| |
JL/JNGE e Jump on Less/Not Greater |
|
|
|
0 1 1 1 1 1 0 0 | disp |
| |
or Equal |
| ||
|
|
| |
JLE/JNG e Jump on Less or Equal/ |
|
|
|
0 1 1 1 1 1 1 0 | disp |
| |
Not Greater |
| ||
|
|
| |
JB/JNAE e Jump on Below/Not Above |
|
|
|
0 1 1 1 0 0 1 0 | disp |
| |
or Equal |
| ||
|
|
| |
JBE/JNA e Jump on Below or Equal/ |
|
|
|
0 1 1 1 0 1 1 0 | disp |
| |
Not Above |
| ||
|
|
| |
JP/JPE e Jump on Parity/Parity Even | 0 1 1 1 1 0 1 0 | disp |
|
JO e Jump on Overflow |
|
|
|
0 1 1 1 0 0 0 0 | disp |
| |
JS e Jump on Sign |
|
|
|
0 1 1 1 1 0 0 0 | disp |
| |
JNE/JNZ e Jump on Not Equal/Not Zero |
|
|
|
0 1 1 1 0 1 0 1 | disp |
| |
JNL/JGE e Jump on Not Less/Greater |
|
|
|
0 1 1 1 1 1 0 1 | disp |
| |
or Equal |
| ||
|
|
| |
JNLE/JG e Jump on Not Less or Equal/ |
|
|
|
0 1 1 1 1 1 1 1 | disp |
| |
Greater |
| ||
|
|
| |
JNB/JAE e Jump on Not Below/Above |
|
|
|
0 1 1 1 0 0 1 1 | disp |
| |
or Equal |
| ||
|
|
| |
JNBE/JA e Jump on Not Below or |
|
|
|
0 1 1 1 0 1 1 1 | disp |
| |
Equal/Above |
| ||
|
|
| |
JNP/JPO e Jump on Not Par/Par Odd | 0 1 1 1 1 0 1 1 | disp |
|
JNO e Jump on Not Overflow |
|
|
|
0 1 1 1 0 0 0 1 | disp |
| |
JNS e Jump on Not Sign |
|
|
|
0 1 1 1 1 0 0 1 | disp |
| |
LOOP e Loop CX Times | 1 1 1 0 0 0 1 0 | disp |
|
LOOPZ/LOOPE e Loop While Zero/Equal |
|
|
|
1 1 1 0 0 0 0 1 | disp |
| |
LOOPNZ/LOOPNE e Loop While Not |
|
|
|
1 1 1 0 0 0 0 0 | disp |
| |
Zero/Equal |
| ||
|
|
| |
JCXZ e Jump on CX Zero | 1 1 1 0 0 0 1 1 | disp |
|
INT e Interrupt
Type Specified
Type 3
INTO e Interrupt on Overflow
IRET e Interrupt Return
1 1 0 0 1 1 0 1 | type |
1 1 0 0 1 1 0 0
1 1 0 0 1 1 1 0
1 1 0 0 1 1 1 1
29