• CrazyLikeGollum@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    7 hours ago

    Is there not a way to take assembly and automatically translate it to some higher level language?

    Edit: Post-post thought: I guess that would basically be one step removed from decompilation which, as I understand it, is a tedious and still fairly manual process.

    • sushibowl@feddit.nl
      link
      fedilink
      English
      arrow-up
      6
      ·
      7 hours ago

      Your thought is correct. The basic problem is that higher level languages contain a lot of additional information that is lost in the compilation process.

      • Saleh@feddit.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        19 minutes ago

        But do we need this information then? E.g. shouldn’t it be possible to just write what the assembler is doing as a c++ code?

        E.g. high level languages also support stuff like bitwise operators and so on.