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 POP instructions are used to load the registers with contents held in the stack.
If an attempt is made to remove more items from the stack than exist in the stack it will cause an exeption.
POPA restores the Registers in reverse order from PUSHA.
All other POP instructions load the register with the next available stack item in a last in first out order.
Stack items are stored using the PUSH instruction.
POP has 2 part, the Instruction and an operand which can be either a Register, 16 bit immediate value, or a 16 bit memory address.
POPA has 1 part, the Instruction. It retrieves all the previously saved Registers stored in the stack using PUSHA.
POPF has 1 part, the Instruction. It retrieves a previously saved Flags Register from the stack.
Instruction 16 bit Machine
CodePOPF 9D POPA 61 POP AX 58 POP CX 59 POP DX 5A POP BX 5B POP SP 5C POP BP 5D POP SI 5E POP DI 5F POP ES 07 POP SS 17 POP DS 1F POP FS 0F A1 POP GS 0F A9 POP [BX] 8F 37 POP [BX+2] 8F 77 02