Outils pour utilisateurs

Outils du site


back2root:ibm-pc-ms-dos:instr:lods

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Dernière révisionLes deux révisions suivantes
back2root:ibm-pc-ms-dos:instr:lods [2023/02/24 14:16] – supprimée - modification externe (Unknown date) 127.0.0.1back2root:ibm-pc-ms-dos:instr:lods [2023/02/24 14:16] – ↷ Page déplacée de back2root:ibm-pc-ms-dos:asm:instr:lods à back2root:ibm-pc-ms-dos:instr:lods 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, if the Direction Flag is clear SI is incremented. 
 +
 +Can be used with REP prefixes.
 +
 +**Usage:**
 +<code asm>
 + LODS src
 + LODSB
 + LODSW
 + LODSD ; 386+ only
 +</code>
 +
 +**Modifies regs:** 
 +<WRAP round box>
 +AL or AX or <color #00a2e8>EAX</color>
 +
 +<color #ff7f27>286+ only</color>  <color #00a2e8>386+ only</color>
 +</WRAP>
 +
 +^              ^  Clocks                       |||^  Size                ^
 +^  Operands    ^  808x    ^  286  ^  386  ^  486  ^  Bytes  ^              ^
 +| src          |  12    5    |  5    |  5    |  1      | 8 bits       |
 +| src          |  16    5    |  5    |  5    |  1      | 16 bits       |
 +
 +{{page>:back2root:ibm-pc-ms-dos:asm:instr:see-footer}}
  
back2root/ibm-pc-ms-dos/instr/lods.txt · Dernière modification : 2023/02/24 14:16 de frater