This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "convert" Watch "convert" New topic


Graham Thorpe
Ranch Hand

Joined: Mar 25, 2002
Posts: 265
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
I agree. Here's the link:
subject: convert
It's not a secret anymore!