Gotchas: Difference between revisions

Content added Content deleted
Line 464: Line 464:
=={{header|X86 Assembly}}==
=={{header|X86 Assembly}}==
===Don't use LOOP===
===Don't use LOOP===
This doesn't affect the 16-bit 8086, but <code>LOOP</code> has some quirks where it's much more efficient to use:
This doesn't affect the 16-bit 8086, but <code>LOOP</code> has some quirks where it's slower than:
<lang asm>label:
<lang asm>label:
;loop body goes here
;loop body goes here