Uploaded September 2016 | Updated December 2026, 3 hours ago
This introduces the stack and math operations.
They're not very hard concepts and become more obvious the more you use them.
One thing I forgot to mention is that "rdx" effects the div/idiv operation. Essentially, if it is not 0, it will be concated onto rax, so you will essentially be dividing a 128 bit register that is the combination of rdx and rax. You can move 0 into rdx to prevent this before you use div. Also, rdx holds the remainder after the division.
This introduces the stack and math operations.
They're not very hard concepts and become more obvious the more you use them.
One thing I forgot to mention is that "rdx" effects the div/idiv operation. Essentially, if it is not 0, it will be concated onto rax, so you will essentially be dividing a 128 bit register that is the combination of rdx and rax. You can move 0 into rdx to prevent this before you use div. Also, rdx holds the remainder after the division.










