sets

Set Byte on Sign

SETS r/m8

Sets byte to 1 if SF=1 (Negative).

Details

The Set Byte on Sign instruction sets byte to 1 if SF=1 (Negative).

Pseudocode Operation

DEST <- 1 if condition true, else 0

Example

SETS bl

Encoding

Binary Layout
0F
+0
98
+1
 
Format Legacy
Opcode 0F 98
Extension Base

Operands

  • dest
    8-bit register or memory