# `clc`

[x86-64 Documentation](https://asm-editor.specy.app/documentation/x86.md) › [Instructions](https://asm-editor.specy.app/documentation/x86/instruction.md)

Web page: https://asm-editor.specy.app/documentation/x86/instruction/clc

**Clear carry flag**

Category: System

Clears the carry flag (CF) to 0.

8086 and later

[Intel's reference: CLC](https://intel.github.io/SDM/instruction/CLC.html)

## Flags

| Flag | Effect |
| --- | --- |
| CF | always 0 |
| PF | not changed |
| AF | not changed |
| ZF | not changed |
| SF | not changed |
| DF | not changed |
| OF | not changed |

## Forms

- `clc`

## Description

[`stc`](https://asm-editor.specy.app/documentation/x86/instruction/stc.md) sets it and [`cmc`](https://asm-editor.specy.app/documentation/x86/instruction/cmc.md) inverts it.

## Example

```x86
global _start

section .text
_start:
        mov rax, 12
        mov rbx, 5
        mov rcx, 3
        mov rsi, 9

        clc

        mov rax, 60         ; syscall 60: exit
        xor rdi, rdi
        syscall
```
