setz

Set Byte on Zero

SETZ r/m8

Sets byte to 1 if ZF=1.

Details

The Set Byte on Zero instruction sets byte to 1 if ZF=1.

Pseudocode Operation

DEST <- 1 if condition true, else 0

Example

SETZ bl

Encoding

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

Operands

  • dest
    8-bit register or memory