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 Move instruction moves values from and to Registers and memory addresses.
This command has 3 parts, Instruction, Register, then either a Register, Immediate value or a memory address.
Assembly
SampleDescription 16 bit Machine
CodeMOV AL, 0x03 ; Move an immediate 8 bit number to an
; 8 bit RegisterB8 03 MOV AX, 0x07D4 ; Move an immediate 16 bit number to a
; 16 bit RegisterB8 D4 07 MOV AL, AH ; Move 8 bit Register to 8 bit Register 8A C4 MOV AX, CX ; Move 16 bit Register to 16 bit Register 8B C1 MOV AX, ES ; Move 16 bit Register to a 16 bit
; Segment Register8C C0 MOV ES, AX ; Move 16 bit Segment Register to a
; 16 bit Register8E C0 MOV BX, 0x0020 ; Assign a memory address to BX BB 20 00 MOV [BX], 0x07D4 ; Move an immediate value to a
; memory addressC7 07 D4 07 MOV [BX], AX ; Move a 16 bit Register to a memory address 89 07 MOV AX, [BX] ; Move a memory address to a 16 bit Register 8B 07