Source: https://wp.kntu.ac.ir/nasihatkon/teaching/asm/s2021/slide/Assembly - Lecture 3.pdf