SALC is an early undocumented instruction similar in concept to
SETcc (SETcc). Its function is to set AL to zero if
the carry flag is clear, or to 0xFF if it is set.
salc
8086 and laterSet AL from Carry Flag
salcNo example here: this instruction either stops the program, or belongs to a mode this emulator does not run.
Forms
Every form of salc the assembler accepts, from NASM's own instruction table.
The second column is the processor that introduced the form; a badge marks a form that needs
an extension, that is lockable, or that long mode dropped.
| Form | Since | Notes |
|---|---|---|
| salc | 8086 | nolongundoc |