Ah, math. What a beautiful discipline. Lots of math is used within application development. Understandable in C++ might be problematic in assembly code. This exercise is not a problem at all, just some few math lines which are not complicated. Anyway, it is very important that you start playing such little math game if we later dig into cryptographic schemes. So tell me: what is this code doing?
ESP in action
Let’s say we want to quickly discard 3 items we pushed earlier onto the stack, without saving the values (in other words “clean” the stack).