Documentation Home
>
x86 Assembly Language Reference Manual
>
Chapter 2 Instruction-Set Mapping
>
Flag Instructions
> Set Carry Flag (stc)
x86 Assembly Language Reference Manual
Previous
: Clear Carry Flag (clc)
Next
: Clear Interrupt Flag (cli)
Set Carry Flag (stc)
stc
Operation
1 -> CF
Description
Sets the carry flag to 1.
Example
Set the carry flag:
stc
Previous
: Clear Carry Flag (clc)
Next
: Clear Interrupt Flag (cli)
© 2010, Oracle Corporation and/or its affiliates