Introduction To X86 Disassembly -
This is your first "artifact." You realize the machine is the number 5 into the EAX slot. The next line says ADD EAX, 10 . Now you know the machine is calculating 3. The Locked Door (Control Flow)
When it’s done, it that memory back off the stack to return home. The Conclusion Introduction to x86 disassembly
Imagine you are a . You’ve just discovered a strange, ancient-looking machine in a high-tech bunker. It’s still running, but there are no manuals, no source code, and no labels on the buttons. This is your first "artifact
This is a fork in the road. If the answer isn't 20, the machine "jumps" to a completely different section of code. The Locked Door (Control Flow) When it’s done,
Before you look at the code, you look at your tools. Your workbench has a few small slots to hold data while you work. In x86, these are your : EAX: Your primary calculator.
As you dig deeper, you find a "Stack"—a literal pile of data. Programs use the to remember where they were before they started a side-task. The program PUSHes its current location onto the stack.