eli5 what is the difference between a decompilation and a disassembly when it comes to viseo games?

286 views

eli5 what is the difference between a decompilation and a disassembly when it comes to viseo games?

In: 1

8 Answers

Anonymous 0 Comments

Programming languages have different “levels”.

At the very bottom is machine code, literally the 0s and 1s the hardware actually runs on.

Just above machine code, we have assembly languages. It’s basically just the same as machine code, with a “prettier” layer on top that can use words and letters. For example, the instruction that tells the CPU to add two numbers is a specific string of 0s and 1s in machine code. But in assembly, it can literally just be “ADD”.

Much higher up, we have languages that are closer to human language. In assembly, we may be able to say “ADD”, but we still have to tell it the addresses of where the numbers are in RAM. In higher level languages, we can just write “1 + 1”.

Ultimately, the hardware only understands machine code. So assembly code has to be “assembled” into machine code, while higher languages have to be “compiled” into machine code.

So disassembly takes the machine code, and brings it up a notch to an assembly language. Decompilation takes machine code and brings it up many notches to a high level language.

You are viewing 1 out of 8 answers, click here to view all answers.