Disassembler Instruction

You can disassemble object or executable file using command prompt. The instruction is (for example using file code.o  that I had made before) :
$ objdump –d code.o

You can also disassemble executable file. The instruction is :
$ objdump –d prog

As usual, disassembly process of executable file will result a very long code. It is caused by the library that have been linked by the program.
You can see that disassembler process result an assembly program and show the register that is used.

No comments:

Post a Comment