-2

How does this "LOOPW 0100" works ??

http://ece425web.groups.et.byu.net/stable/labs/8086InstructionSet.html

Shujan S
  • 1
  • 3

1 Answers1

0

Loop is a shortcut for

dec cx
jncxz label;

The w gives the operand size when using AT&T syntax (rather uncommon for x86). Since the "shortcut" is often faster than the loop instruction, loop is hardly used.

PMF
  • 14,535
  • 3
  • 23
  • 49