When an application is written in high-level languages is compiled, the language instructions will be converted to assembly language corresponding to it. This is the code that machines can understand. With the debugger we can view each assembly instruction.
CPU instructions
How to do it...
Follow the steps to understand the usage in debuggers:
- Open an application in the Immunity Debugger.
- We can view the opcode in the top-left pane of the Immunity Debugger.
- We can step through the instructions one by one and see the results by pressing F7:
Here is how the instructions pane looks:
This will update the corresponding registers in the top-right pane. Like this, we can follow the execution of each CPU instruction within Immunity...