setcc

Set Byte on Condition

SETcc r/m8

Sets byte to 1 if condition met, else 0 (e.g., SETE, SETZ).

Details

The Set Byte on Condition instruction sets byte to 1 if condition met, else 0 (e.g., SETE, SETZ).

Pseudocode Operation

DEST <- 1 if condition true, else 0

Example

SETcc bl

Encoding

Binary Layout
0F
+0
 
Format Legacy
Opcode 0F 9x
Extension Base

Operands

  • dest
    8-bit register or memory