Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révisionLes deux révisions suivantes | ||
back2root:ibm-pc-ms-dos:asm:instr:lods [2023/01/14 21:13] – frater | back2root:ibm-pc-ms-dos:instr:lods [2023/02/24 14:16] – supprimée - modification externe (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== LODSx ====== | ||
- | |||
- | ===== 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>: | ||