IF ELSE structure is a basic conditional statement that is provided by any programming language. When implemented in x86 assembly, the IF ELSE statement uses the condition codes. condition codes are the corner stone of any computer architecture that allows to implement conditional flow related complex logic.
This is the 4th of the 6 video series on x86 assembly language. This session gives a detailed account of condition codes and an example implementing c language if-else high level construct. This video gives a good understanding of how does the c language interprets high-level complex expressions using the condition codes to control the order of the control flow of our programs. The x86 has very rich variations of jump instructions that provide different ways to implement jumps based on the condition codes.