wood burning stoves 2.0*
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
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: convert