setc

386 and later

Set byte if carry (CF == 1)

setc r/m8 | setc reg64 | setc reg32

SETcc sets the given 8-bit operand to zero if its condition is not satisfied, and to 1 if it is.

Loading...

Forms

Every form of setc 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.

FormSinceNotes
setc r/m8386long
setc reg64x86-64apxlong
setc reg32x86-64apxlong