Introduction To - X86 Disassembly

The "Instruction Pointer," the finger that points to the exact line of code currently being executed. 2. The First Discovery: MOV and ADD

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. Introduction to x86 disassembly

Suddenly, you hit a line that says CMP EAX, 20 followed by JNE 0x401050 . The machine is checking if your total is 20. The "Instruction Pointer," the finger that points to

This is how a program makes a decision—like checking if a password is correct. If the numbers don't match, the "jump" sends you to an "Access Denied" screen. 4. The Hidden Vault (The Stack) Your workbench has a few small slots to

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.