
Instruction Set
4-198
REPNE
REPNE
Operation It Performs
Flag Settings After Instruction
Instruction prefixes do not affect the flags. See the instruction being repeated for the flag
values.
while (CX != 0)
/* repeat while not equal */
{
serviceInterrupts();
execute(
instruction);
/* decrement counter */
CX = CX - 1;
if (ZF == 1)
/* equal */
break;
}
Summary of Contents for Am186 Series
Page 1: ...Am186 and Am188 Family Instruction Set Manual February 1997...
Page 10: ...Table of Contents x...
Page 18: ...Programming 1 8...
Page 40: ...Instruction Set Listing 3 14...