16 bit Assembly
ADC - Add with Carry
ADD - Add
AND - Bitwise AND
CALL - Call Routine
CLC - Clear Carry Flag
CLD - Clear Direction
CLI - Clear Interupt Flag
CMPS - Compare
CMP - Compare
DEC - Decrement
DIV - Divide
HLT - Halt
IDIV - Divide Signed
IMUL - Multiply Signed
INC - Increment
INS - Input
INT - Interupt
IN - Input
IRET - Interupt Return
JMP - Jump
J - Jump Conditional
LAHF - Load Flags
LDS - Load Far Pointer
LEA - Store Address
LES - Load Far Pointer
LFS - Load Far Pointer
LGS - Load Far Pointer
LODSB - LODSW - Load
LODS - Load
LOOP - Loop
LSS - Load Far Pointer
MOVSB - Move Far
MOVSW - Move Far
MOVS - Move
MOV - Move
MUL - Multiply
NEG - Negate
NOP - No Operation
NOT - Bitwise NOT
OR - Bitwise OR
OUTS - Output
OUT - Output
POP - Stack Retrieval
PUSH - Stack Store
RCL - Roll Left
RCR - Roll Right
REP - Repeat
RET - Return
ROL - Roll Left
ROR - Roll Right
SAHF - Save Flags
SAL - Shift Left
SAR - Shift Right
SBB - Subtract with Borrow
SCAS - Compare
SET - Set Condition
SHL - Shift Left
SHR - Shift Right
STC - Set Carry Flag
STD - Set Direction
STI - Set Interupt Flag
STOSB - STOSW - Store
STOS - Store
SUB - Subtract
TEST - Compare
XADD - Exchange and And
XCHG - Swap
XOR - Bitwise XOR
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 number.
- O = Overflow Flag
- C = Carry Flag
- S = Sign Flag
- P = Parity Flag
- N = Not that action
- E = Equals
- L = Lower than
- G = Greater than
- Z = Zero value
- A = Above
- B = Below
Syntax: JE 0x03 ; Jump if Equal 3 bytes forward.
Instructions in Op Code sequence
Op Code Instruction 70 JO 71 JNO 72 JB, JC, JNAE 73 JNB, JNC, JAE 74 JZ, JE 75 JNZ, JNE 76 JBE, JNA 77 JA, JNBE 78 JS 79 JNS 7A JP, JPE 7B JNP, JPO 7C JL, JNGE 7D JNL, JGE 7E JLE, JNG 7F JG, JNLE E3 JCXZ, JECXZ
Instructions according to use
Op Code Instruction Carry JC, JNC Overflow JO, JNO Parity JP, JNP, JPE, JPO Sign JS, JNS Lower JL, JB, JLE, JNA, JNG, JNGE, JNAE, JBE Greater JG, JA, JGE, JNB, JNL, JNLE, JNBE, JAE Equal JE, JNE Zero JZ, JNZ, JCXZ, JECXZ