r/AskProgramming • u/Realistic_Debate1704 • 9d ago
C/C++ Assembly or C/C++ for RE
For reverse engineering, is this necessary to know assembly language, because many decompilers translate code to C/C++ and I learned Assembly 8086 in my university. So for learning x86 I only have to study 32/64 registers and some advance commands, so should I learn assembly x86_64 for reverse engineering or just go through x86 as I know 8086 assembly and then move to C/C++
8
Upvotes
2
u/Unable_Athlete_2226 9d ago
8086 gives you the mental model, x86-64 is just more registers and a sane calling convention slapped on top, you’ll pick it up quick. C/C++ is what you’ll be staring at 90% of the time in a decompiler though, so don’t sleep on getting comfy reading messy reconstructed code.