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

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:08] – créée fraterback2root:ibm-pc-ms-dos:asm:instr:lods [2023/01/14 21:14] – [LODSx] frater
Ligne 1: Ligne 1:
-====== LODS - Load String (Byte, Word or Double) ======+====== LODS - LODSB - LODSW - LODSD ======
  
-===== INSTR. Quick Descr =====+===== LODS Load String (Byte, Word or Double) =====
  
-Descr.+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:** **Usage:**
 <code asm> <code asm>
- INSTR Opp,Opp ;+ LODS src 
 + LODSB 
 + LODSW 
 + LODSD 386+ only
 </code> </code>
  
-**Modifies flags:**  +**Modifies regs:** 
 <WRAP round box> <WRAP round box>
-CF PF AF ZF SF TF IF DF OF <color #ff7f27>IOPL</color> <color #ff7f27>NT</color> <color #00a2e8>RF</color> <color #00a2e8>VM</color>+AL or AX or <color #00a2e8>EAX</color>
  
 <color #ff7f27>286+ only</color>  <color #00a2e8>386+ only</color> <color #ff7f27>286+ only</color>  <color #00a2e8>386+ only</color>
Ligne 20: Ligne 24:
 ^              ^  Clocks                       |||^  Size                ^ ^              ^  Clocks                       |||^  Size                ^
 ^  Operands    ^  808x    ^  286  ^  386  ^  486  ^  Bytes  ^              ^ ^  Operands    ^  808x    ^  286  ^  386  ^  486  ^  Bytes  ^              ^
-none         |  10/14   |     |     |      1      |              | +src          |  12   |     |     |      1      | 8 bits       | 
-| none (PM)    |  -       |  -    |  4    |  3    |  1      |              +src          |  16   |     |     |     |       16 bits       |
-reg,reg      |  3        2    |  2    |  1    |  2      |              | +
-| mem,reg      |  16+EA   |     |     |     |  2-4    | (W88=24+EA) +
-| reg,mem       9+EA    |  7    |  6    |  1    |  2-4    | (W88=13+EA) +
-| reg,immed    |  4       |  3    |  2    |  1    |  3-4    |              | +
-| mem,immed    |  17+EA    7    |  7    |  3    |  3-6    | (W88=23+EA) +
-| accum,immed  |  4        3    |  2    |  1    |  2-3    |              |+
  
 {{page>:back2root:ibm-pc-ms-dos:asm:instr:see-footer}} {{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