loope

Loop if Equal

LOOPE rel

Decrements count; jumps if count!=0 and ZF=1.

Details

The Loop if Equal instruction decrements count; jumps if count!=0 and ZF=1.

Pseudocode Operation

// Decrements count; jumps if count!=0 and ZF=1

Example

LOOPE rel

Encoding

Binary Layout
E1
+0
 
Format Legacy
Opcode E1
Extension Base

Operands

  • dest
    Relative branch offset