Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

C/C++ into assembly code

Featured Replies

Posted

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

just using ollydbg or ida

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. :)



 

  • Author

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.

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.