Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
back2root:ibm-pc-ms-dos:instr:lods [2023/02/24 14:16] – supprimée - modification externe (Unknown date) 127.0.0.1 | back2root:ibm-pc-ms-dos:instr:lods [2023/02/24 14:16] (Version actuelle) – ↷ Liens modifiés en raison d'un déplacement. frater | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== LODS - LODSB - LODSW - LODSD ====== | ||
+ | |||
+ | ===== LODS - Load String (Byte, Word or Double) ===== | ||
+ | |||
+ | Transfers string element addressed by DS:SI (even if an operand is supplied) to the accumulator. SI is incremented based on the size of the operand or based on the instruction used. If the Direction Flag is set SI is decremented, | ||
+ | |||
+ | Can be used with REP prefixes. | ||
+ | |||
+ | **Usage:** | ||
+ | <code asm> | ||
+ | LODS src | ||
+ | LODSB | ||
+ | LODSW | ||
+ | LODSD ; 386+ only | ||
+ | </ | ||
+ | |||
+ | **Modifies regs: | ||
+ | <WRAP round box> | ||
+ | AL or AX or <color # | ||
+ | |||
+ | <color # | ||
+ | </ | ||
+ | |||
+ | ^ ^ Clocks | ||
+ | ^ Operands | ||
+ | | src | 12 | ||
+ | | src | 16 | ||
+ | |||
+ | {{page> | ||