# `salc`

[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/salc

**Set al from carry flag** · Undocumented

Category: Comparison

Sets al to 0xff (all ones) if the carry flag is set, and to 0x00 otherwise.

8086 and later · Not available in 64-bit mode

## Flags

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

Reads: CF

## Forms

- `salc`

## Description

Its function is to set `AL` to zero if
the carry flag is clear, or to `0xFF` if it is set.
