Dr.Haribo

How to locate ALU instructions in binary?

Discussion created by Dr.Haribo on Aug 20, 2011

I am trying to locate the ALU instructions in a program binary.

I look in the second .text section of the inner ELF. The instructions are there, but so are other things like CF instructions.

I see the binary representation of each instruction in this document: http://developer.amd.com/sdks/AMDAPPSDK/assets/AMD_Evergreen-Family_Instruction_Set_Architecture.pdf

But how can I tell which type of instruction I am looking at, in a given location in the binary?

Outcomes