loopne

Loop if Not Equal

LOOPNE rel

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

Details

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

Pseudocode Operation

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

Example

LOOPNE rel

Encoding

Binary Layout
E0
+0
 
Format Legacy
Opcode E0
Extension Base

Operands

  • dest
    Relative branch offset