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:repe-repz [2023/02/24 14:16] – supprimée - modification externe (Unknown date) 127.0.0.1 | back2root:ibm-pc-ms-dos:instr:repe-repz [2023/02/24 14:16] (Version actuelle) – ↷ Liens modifiés en raison d'un déplacement. frater | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== REPE-REPZ ====== | ||
+ | |||
+ | ===== REPE/REPZ - Repeat Equal / Repeat Zero ===== | ||
+ | |||
+ | Repeats execution of string instructions while CX != 0 and the Zero Flag is set. CX is decremented and the Zero Flag tested after each string operation. The combination of a repeat prefix and a segment override on processors other than the 386 may result in errors if an interrupt occurs before CX=0. | ||
+ | |||
+ | **Usage:** | ||
+ | <code asm> | ||
+ | REPE | ||
+ | REPZ | ||
+ | </ | ||
+ | |||
+ | **Modifies flags: | ||
+ | |||
+ | <WRAP round box> | ||
+ | ZF | ||
+ | |||
+ | </ | ||
+ | |||
+ | ^ ^ Clocks | ||
+ | ^ Operands | ||
+ | | none | ||
+ | |||
+ | {{page> | ||