Discussion in 'OT Technology' started by datboiwilly, Jan 31, 2005.
Is there such a thing? I would like to see everything that I'm doing in Java in assembly language.
No. No such thing. Aside from the fact that the JVM runs your code, and not the processor... even if you wanted to go from C++->Assembly, you'd need a decompiler, and it would be so ugly that you couldn't understand it unless you were very good with assembly on that platform and had alot of time.
You are a high level programmer. Forget about assembly.
You can turn C++ code into assembly code easily. What do you think the compiler does?
Give gcc the -S flag to generate assembly code, it will not invoke the assembler so you won't get any executable output.
I don't know about Java, I suggest you read through the javac man pages.
Okay, you're right about C. That was a dumb thing to say.
But Java runs through the Java Virtual Machine... its a big fat layer above assembly. Javac compiles into Java Bytecode, not assembly.
Took the words right out of my mouth.