GNU Info

Info Node: (nasm.info)Section B.4.301

(nasm.info)Section B.4.301


Next: Section B.4.302 Prev: Section B.4.300 Up: Section B.4
Enter node , (file) or (file)node

B.4.301. `STC', `STD', `STI': Set Flags
---------------------------------------

     STC                           ; F9                   [8086]
     STD                           ; FD                   [8086]
     STI                           ; FB                   [8086]

   These instructions set various flags. `STC' sets the carry flag;
`STD' sets the direction flag; and `STI' sets the interrupt flag (thus
enabling interrupts).

   To clear the carry, direction, or interrupt flags, use the `CLC',
`CLD' and `CLI' instructions (*Note Section B.4.20::). To invert the
carry flag, use `CMC' (*Note Section B.4.22::).


automatically generated by info2www version 1.2.2.9