Loop Instructions 8086 Microprocessor 8086 Microprocessor by Ravinder Nath Rajotiya - December 14, 2020May 10, 20210 Loop using DEC and JMP Instructions We are familiar with the conditional branch instructions which as shown below could be used for repetitive tasks. Looping using these technique involve more than one instruction as shown in following format MOV CX, N Begin : do some operation operations DEC CX JNZ Begin Loop Instructions in 8086: loop instructions are used to simplify the decrementing, testing and branching portion of the loop. In the above case this portion required two instructions, but in more complicated situation may require more than two instructions. The loop instruction for 8086 all have the form: OPCODE D8 where D8 is byte displacement from current IP. The loop instruction is simplified to: With loop instruction the format for branch become: MOV CX, N Begin: -- -- LOOP Begin The Loop