+ Post New Thread
Results 1 to 3 of 3
  1. #1
    Newbie level 4
    Points: 89, Level: 1

    Join Date
    Jul 2019
    Posts
    9
    Helped
    0 / 0
    Points
    89
    Level
    1

    hex code to Assembly

    Hello
    I have a hex code I want to make it an assembly. Can it be?
    Has anyone ever done this?
    Do you have any software for this work or education?
    Thanks

    •   AltAdvertisement

        
       

  2. #2
    Super Moderator
    Points: 29,792, Level: 42
    andre_teprom's Avatar
    Join Date
    Nov 2006
    Location
    Brazil
    Posts
    8,893
    Helped
    1125 / 1125
    Points
    29,792
    Level
    42
    Blog Entries
    9

    Re: hex code to Assembly

    Yes, this is called disassembling; there are tools for many compilers, make a search by yourself on the web.
    --------------------------------------------------------------------------------------------------
    Part of the world that you live in, You are the part that you're giving ( Renaissance )



    •   AltAdvertisement

        
       

  3. #3
    Super Moderator
    Points: 81,755, Level: 69
    Achievements:
    7 years registered
    Awards:
    2nd Helpful Member
    betwixt's Avatar
    Join Date
    Jul 2009
    Location
    Aberdyfi, West Wales, UK
    Posts
    13,410
    Helped
    4472 / 4472
    Points
    81,755
    Level
    69

    Re: hex code to Assembly

    You need a "disassembler", a program that reverse engineers the bytes back to their corresponding instructions. If your file is in .hex format (a text file) you might have to convert it back to binary first, some disassemblers will do this for you.

    What it will not do is reproduce the source code as it was written because the structure, variable names and comments are not saved in the HEX file but it will give you a list of instructions you have to interpret yourself.

    There are disassembler programs for most devices but as each produces it's own bytes according to the processor type, you need one specific to the device you are using.

    Brian.
    PLEASE - no friends requests or private emails, I simply don't have time to reply to them all.
    It's better to share your questions and answers on Edaboard so we can all benefit from each others experiences.



--[[ ]]--