Q. Programming with loops and comparisons?
This segment deals with more practical illustrations employing comparison, loops and shift instructions.
Simple Program Loops
Loops in assembly are able to be implemented using:
- Unconditional jump instructions like JMP
- Conditional jump instructions like JC, JNC, JZ, JNZ etc.
- Loop instructions.