How to translate a hexadecimal statement on the intel x86 architecture to Assembly?

Asked

Viewed 357 times

0

How to do this by looking only at the hexadecimal values of an address?

  • Take a look at [tour]. You can accept an answer if it solved your problem. You can vote on every post on the site as well. Did any help you more? You need something to be improved?

  • Intel makes available on the site material on processor instructions (machine language) for download. And until a while ago they sent by mail to the person’s home. From there the USA. I do not know the documentation page of the processors now.

2 answers

2

See the options for each instruction in the 80x86 Instruction-set. There is a table mapping each instruction with its Hexa opcode. When identifying the Opcode see which instruction in Assembly corresponds to it.

The biggest problem is whether what you’re looking at in a binary is an instruction or an operand or an operator or a data in the Data Segment. You will only succeed if you are sure what you are looking at is really Opcode.

https://en.wikipedia.org/wiki/X86_instruction_listings#Original_8086.2F8088_instructions

1

You need a disassembler. Trying to do it by hand is hard work, risky and problematic, as well as needing a book to explain. Has a online.

  • vlw more wanted to know how to do it manually same

Browser other questions tagged

You are not signed in. Login or sign up in order to post.