Embed presentation
Download to read offline




This document discusses jump and loop instructions in assembly language. It explains that JMP is an unconditional jump instruction that transfers execution to the specified destination. A JMP instruction can create an infinite loop by jumping back to its own location. LOOP is a loop instruction that decrements the ECX register and jumps back to the destination label if ECX is not zero, allowing code to repeat. The document provides a demo example using MOV to initialize ECX as the loop counter, and LOOP to repeat the block incrementing EAX until ECX reaches zero.


