Hello and welcome to a new section.
In this new section, we are going to learn about branching.
The way to implement branching in assembly is by using jumps.
After this stage, so far, the code that we have written is all executed sequentially.
But now we learn how to do branching.
So there are two kinds of jumps.
The first is unconditional jumps.
Unconditional jumps use the JMP instruction. In unconditional jumps,
the jump will take place irrespective of any conditions.
In conditional jumps, the jump will take place depending on the values in the - register.
Two examples of conditional jumps are JZ and JNZ.
So conditional jumps are based on values inside the - register.
There are other types of conditional jumps as well, besides JZ and JNZ, which we may take a look at in the
coming lessons.
So that's all for this video.
See you in the next one.
Thank you for watching.