Aldhard Oswine Posted December 13, 2016 Posted December 13, 2016 Is there any book or articles about how C/C++ code is translated into assembly code? like how classes or structs, pointers, etc. are translated into an assembly code
crystalboy Posted December 13, 2016 Posted December 13, 2016 The thing that you are looking for is the work 'behind the scene' of a compiler. There are a lot of resource for that, one of the most famous known as dragon book: Compilers: Principles, Techniques, and Tools Also universities free resources are available like: Basics of Compiler Design and Let's Build a Compiler You can find thousand of papers on Google. The faster way to learn is obviously to grab an IDE and code yourself what you would like to see in ASM representation and compile it. 2
Aldhard Oswine Posted December 13, 2016 Author Posted December 13, 2016 Thanks, guyes. I'm using disassembler and it's the great way to learn but a book is also very helpful. "Compilers: Principles, Techniques, and Tools" looks like great. Thanks again.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now