<<< Jump with Indirect Operand | Index | Jumping Based on the Processor Flags >>> |
The most common way to transfer control in assembly language is to use a conditional jump. This is a two-step process:
First, test the condition.
Then, jump if the condition is true.
Continue, if condition is false.
All conditional jumps except two (JCXZ and JECXZ) use the processor flags for their criteria.
There are about 30 conditional-jump instructions.
Each conditional-jump instruction takes a single operand containing the target address.
<<< Jump with Indirect Operand | Index | Jumping Based on the Processor Flags >>> |