How To Control The Flow Of A Program In X86 Assembly
This article provides an overview of those instructions that can be used to control the flow of a program. See the last article in this series, How to diagnose and locate segmentation faults in x86 assembly. Using comparison instructions to control applications at the x86 level x86 instruction set comes with two popular instructions for comparison. They are CMP and TEST. Let us explore the following program to understand how these two instructions work....