Instruction Set
4-234
STD
STD
Tips
Before using one of the string instructions (CMPS, INS, LODS, MOVS, OUTS, SCAS, or
STOS), always set up CX with the length of the string, and use CLD (forward) or STD
(backward) to establish the direction for string processing.
The string instructions always advance SI and/or DI, regardless of the use of the REP prefix.
Be sure to set or clear DF before any string instruction.
Related Instructions
If you want to
See
Process string components from lower to higher addresses
CLD
Compare a component in one string with a component in another string
CMPS
Copy a component from a port in I/O memory to a string in main memory
INS
Copy a component from a string in memory to a register
LODS
Copy a component from one string in memory to another string in memory
MOVS
Copy a component from a string in main memory to a port in I/O memory
OUTS
Compare a component in a string to a register
SCAS
Copy a component from a register to a string in memory
STOS
Содержание Am186 Series
Страница 1: ...Am186 and Am188 Family Instruction Set Manual February 1997...
Страница 10: ...Table of Contents x...
Страница 18: ...Programming 1 8...
Страница 40: ...Instruction Set Listing 3 14...