This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes convert Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "convert" Watch "convert" New topic
Author

convert

Graham Thorpe
Ranch Hand

Joined: Mar 25, 2002
Posts: 265
Hi
I want some guidelines about "convert either C or java to Assembly language".

How can we convert C language to Assembly language?
Thanks for ur feedback
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
As I recall you should be able to convert a C program directly to assembly with the C compiler. Look at the docs on whatever compiler you're using, but I think the flag to create an assembly file is usually -s.
Michael Morris


Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
 
Don't get me started about those stupid light bulbs.
 
subject: convert