-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Flag Setting/Clearing Instructions
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


|
| STC ; F9 [8086] |
| STD ; FD [8086] |
| STI ; FB [8086] |
| |
| CLC ; F8 [8086] |
| CLD ; FC [8086] |
| CLI ; FA [8086] |
| CLTS ; 0F 06 [286,PRIV] |
| |
| CMC ; F5 [8086] |



STC : Sets the Carry Flag
STD : Sets the Direction Flag
STI : Sets the Interrupt Flag (Enabling Interrupts)

CLC : Clears the Cary Flag
CLD : Clears the Direction Flag
CLI : Clears the Interrupt Flag (Disabling Interrrupts)
CLTS : Clears the Task-Switched (TS) flag in CR0

CMS : Inverts the Carry Flag; 0=1 1=0; etc.
Posted on 2002-04-22 10:38:11 by Volcano_88101
so?
Posted on 2002-04-22 11:00:14 by Tola
???
hi tola
Posted on 2002-04-22 12:30:29 by adapix
pretty confusing indeed. :confused:

hi, adapix :)

Posted on 2002-04-22 14:31:17 by Tola
:confused:

What is the objective of this thread?
Posted on 2002-04-22 16:05:27 by CodeLover
yep
and you here tola?;) nice to see you

thanks for information Volcano_88101
Posted on 2002-04-22 16:11:47 by adapix
Can we do string instructions next... :grin:
Posted on 2002-04-22 23:26:25 by S/390