LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-22-2005, 04:06 AM   #1
max_rsr
LQ Newbie
 
Registered: Mar 2005
Posts: 20

Rep: Reputation: 0
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 .
 
Old 07-22-2005, 06:22 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Do you use Linux ? If yes, take a look at : http://linuxassembly.org/
 
Old 07-22-2005, 06:38 AM   #3
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
First of, are you using a hex editor to view the binary?
 
Old 07-22-2005, 07:45 AM   #4
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
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
 
Old 07-22-2005, 08:06 AM   #5
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert Assembly code to "C" source code ssg14j Programming 2 08-01-2005 12:48 PM
optcode, assembly Code, or binary? mrpc_cambodia Programming 5 01-05-2005 05:59 AM
how to convert C executable into Assembly Code indian Programming 4 10-04-2004 04:56 PM
Need Assembly Code Reference Table marky782 Linux - General 6 02-16-2004 06:53 PM
Command for getting assembly code aizkorri Programming 1 06-18-2002 05:04 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration