LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Reading Assembly code (https://www.linuxquestions.org/questions/programming-9/reading-assembly-code-345640/)

max_rsr 07-22-2005 04:06 AM

Reading Assembly code
 
Hi guys,
Can anyone help me with the problem I am having , I want to read the assembly code
generated by my gcc compiler ( C++ code), But I can't seem to understand it, is there any way to make it more readable or can u provide me with any documentation which might help me,

Thanks .

keefaz 07-22-2005 06:22 AM

Do you use Linux ? If yes, take a look at : http://linuxassembly.org/

phil.d.g 07-22-2005 06:38 AM

First of, are you using a hex editor to view the binary?

ta0kira 07-22-2005 07:45 AM

Thanks for the link keefaz. I really like this article (which your link led me to):
http://www.muppetlabs.com/~breadbox/...ny/teensy.html
ta0kira

jtshaw 07-22-2005 08:06 AM

I'm not sure how your getting to the assembly code... but gcc (or g++) -S with -O0 will produce just about as readable code as I've found anywhere...


All times are GMT -5. The time now is 01:24 PM.