I’m wondering if there is any program that can convert my assembler code into disassembled bytes like so:
mov 0×01, %eax to B8 01 00 00 00
Is there any trick I don’t see?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, such a tool is called an assembler. To get raw (flat) machine code, you can use
nasmfor example (x86 assumed):