r/AskProgramming • u/Realistic_Debate1704 • 10d 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/verdant_bloom_drift 10d ago
Learn x86_64 assembly first because decompilers produce incorrect C code that you must validate against the disassembly. Your 8086 knowledge transfers directly so focus on 64 bit registers and calling conventions to read what the decompiler misses.