Outils pour utilisateurs

Outils du site


back2root:ibm-pc-ms-dos:instr:clx-stx

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
Prochaine révision
Révision précédente
back2root:ibm-pc-ms-dos:instr:clx-stx [2023/02/24 14:16] – supprimée - modification externe (Unknown date) 127.0.0.1back2root:ibm-pc-ms-dos:instr:clx-stx [2023/03/03 23:53] (Version actuelle) – modification externe 127.0.0.1
Ligne 1: Ligne 1:
 +====== CLx / STx ======
  
 +===== Carry Flag =====
 +
 +==== CLC - Clear Carry Flag ====
 +
 +Clears the Carry Flag.
 +
 +**Usage:**
 +
 +<code asm>
 + CLC
 +</code>
 +
 +**Modifies flags:** 
 +
 +<WRAP round box>
 +CF
 +</WRAP>
 +
 +^            ^   Clocks                       ^^^^  Size   ^
 +^  Operands  ^  808x      286  ^  386  ^  486  ^  Bytes  ^
 +|  none      |  2        |  2    |  2    |  2    |  1      |
 +
 +
 +==== STC - Set Carry Flag ====
 +
 +Sets the Carry Flag to 1.
 +
 +**Usage:**
 +
 +<code asm>
 + STC
 +</code>
 +
 +**Modifies flags:**
 +
 +<WRAP round box>
 +CF
 +</WRAP>
 +
 +^            ^   Clocks                       ^^^^  Size   ^
 +^  Operands  ^  808x      286  ^  386  ^  486  ^  Bytes  ^
 +|  none      |  2        |  2    |  2    |  2    |  1      |
 +
 +
 +===== Direction Flag =====
 +
 +==== CLD - Clear Direction Flag ====
 +
 +Clears the Direction Flag causing string instructions to increment the SI and DI index registers.
 +
 +**Usage:**
 +
 +<code asm>
 + CLD
 +</code>
 +
 +**Modifies flags:** 
 +<WRAP round box>
 +DF
 +</WRAP>
 +
 +^            ^   Clocks                       ^^^^  Size   ^
 +^  Operands  ^  808x      286  ^  386  ^  486  ^  Bytes  ^
 +|  none      |  2        |  2    |  2    |  2    |  1      |
 +
 +
 +==== STD - Set Direction Flag ====
 +
 +Sets the Direction Flag to 1 causing string instructions to auto-decrement SI and DI instead of auto-increment.
 +
 +**Usage:**
 +
 +<code asm>
 + STD
 +</code>
 +
 +**Modifies flags:**
 +<WRAP round box>
 +DF
 +</WRAP>
 +
 +^            ^   Clocks                       ^^^^  Size   ^
 +^  Operands  ^  808x      286  ^  386  ^  486  ^  Bytes  ^
 +|  none      |  2        |  2    |  2    |  2    |  1      |
 +
 +===== Interruption Flag =====
 +
 +==== CLI - Clear Interrupt Flag ====
 +
 +Disables the maskable hardware interrupts by clearing the Interrupt flag. 
 +
 +<WRAP round box>
 +NMI's and software interrupts are not inhibited.
 +</WRAP>
 +
 +**Usage:**
 +
 +<code asm>
 + CLI
 +</code>
 +
 +**Modifies flags:** 
 +<WRAP round box>
 +IF
 +</WRAP>
 +
 +
 +
 +^            ^   Clocks                       ^^^^  Size   ^
 +^  Operands  ^  808x      286  ^  386  ^  486  ^  Bytes  ^
 +|  none      |  2        |  2    |  2    |  2    |  1      |
 +
 +
 +==== STI - Set Carry Flag ====
 +
 +Sets the Interrupt Flag to 1, enabling recognition of all CPU hardware interrupts.
 +
 +**Usage:**
 +
 +<code asm>
 + STI
 +</code>
 +
 +**Modifies flags:**
 +<WRAP round box>
 +IF
 +</WRAP>
 +
 +^            ^   Clocks                       ^^^^  Size   ^
 +^  Operands  ^  808x      286  ^  386  ^  486  ^  Bytes  ^
 +|  none      |  2        |  2    |  2    |  2    |  1      |
 +
 +
 +{{page>See-footer}}