Decrease CX, jump to label if CX not zero and Equal (ZF = 1).Algorithm:
Decrease CX, jump to label if CX not zero and Equal (ZF = 1).
Algorithm:
LOOPE Label
.model small .data ... .code ... ... mov cx,10h label: ... ... cmp ax,00h loope label ;check if ax==0 and cx>0 and then perform jump ... ... end