
Index
I-5
POPA (Pop All 16-Bit General Registers from Stack)
instruction, 4-178
POPF (Pop Flags from Stack) instruction, 4-180
processor control instructions
ESC (Escape) instruction, 4-56
HLT (Halt) instruction, 4-57
list of, 3-9
LOCK (Lock the Bus) instruction, 4-140
NOP (No Operation) instruction, 4-165
WAIT (Wait for Coprocessor) instruction, 4-245
processor status flags register, 1-2
PUSH (Push Component onto Stack) instruction, 4-181
PUSHA (Push All 16-Bit General Registers onto Stack)
instruction, 4-184
PUSHF (Push Flags onto Stack) instruction, 4-186
R
RCL (Rotate through Carry Left) instruction, 4-187
RCR (Rotate through Carry Right) instruction, 4-189
register and immediate operands, 1-7
register set, 1-2
general registers, 1-1
segment registers, 1-1
status and control registers, 1-1
REP (Repeat) instruction, 4-191
REPE (Repeat While Equal) instruction, 4-193
REPNE (Repeat While Not Equal) instruction, 4-197
REPNZ (Repeat While Not Zero) instruction, 4-197
REPZ (Repeat While Zero) instruction, 4-193, 4-201
RET (Return from Procedure) instruction, 4-202
ROL (Rotate Left) instruction, 4-205
ROR (Rotate Right) instruction, 4-207
S
SAHF (Store AH in Flags) instruction, 4-209
SAL (Shift Arithmetic Left) instruction, 4-211
SAR (Shift Arithmetic Right) instruction, 4-214
SBB (Subtract Numbers with Borrow) instruction, 4-216
SCAS (Scan String for Component) instruction, 4-219
SCASB (Scan String for Byte) instruction, 4-219
SCASW (Scan String for Word) instruction, 4-219
segment registers, 1-1
segments
code segment (CS), 1-5
data segment (DS), 1-5
extra segment (ES), 1-5
segment register selection rules, 1-5
stack segment (SS), 1-5
SHL (Shift Left) instruction, 4-211, 4-224
SHR (Shift Right) instruction, 4-225
stack pointer register, 1-1
status and control registers, 1-1
STC (Set Carry Flag) instruction, 4-228
STD (Set Direction Flag) instruction, 4-231
STI (Set Interrupt-Enable Flag) instruction, 4-235
STOS (Store String Component) instruction, 4-237
STOSB (Store String Byte) instruction, 4-237
STOSW (Store String Word) instruction, 4-237
string instructions
CLD (Clear Direction Flag) instruction, 4-29
CMPS (Compare String Components) instruction,
4-36
CMPSB (Compare String Bytes) instruction, 4-36
CMPSW (Compare String Words) instruction, 4-36
INS (Input String Component from Port) instruction,
4-71
INSB (Input String Byte from Port) instruction, 4-71
INSW (Input String Word from Port) instruction, 4-71
list of, 3-9
LODS (Load String Component) instruction, 4-141
LODSB (Load String Byte) instruction, 4-141
LODSW (Load String Word) instruction, 4-141
MOVS (Move String Component) instruction, 4-156
MOVSB (Move String Byte) instruction, 4-156
MOVSW (Move String Word) instruction, 4-156
OUTS (Output String Component to Port) instruction,
4-173
OUTSB (Output String Byte to Port) instruction, 4-173
OUTSW (Output String Word to Port) instruction,
4-173
REP (Repeat) instruction, 4-191
REPE (Repeat While Equal) instruction, 4-193
REPNE (Repeat While Not Equal) instruction, 4-197
REPNZ (Repeat While Not Zero) instruction, 4-197
REPZ (Repeat While Zero) instruction, 4-193, 4-201
SCAS (Scan String for Component) instruction, 4-219
SCASB (Scan String for Byte) instruction, 4-219
SCASW (Scan String for Word) instruction, 4-219
STD (Set Direction Flag) instruction, 4-231
STOS (Store String Component) instruction, 4-237
STOSB (Store String Byte) instruction, 4-237
STOSW (Store String Word) instruction, 4-237
SUB (Subtract Numbers) instruction, 4-240