Asked
Active
Viewed 280 times
-1
-
assembly language in mars software – jomd Aug 19 '20 at 06:57
-
I recently posted an answer on [Is there a way to use gcc to convert C to MIPS?](https://stackoverflow.com/a/63386888) specifically about using compiler output with MARS. Of course you can't call standard library functions like `ostream::operator<<`, you have to use MARS toy system calls. – Peter Cordes Aug 19 '20 at 07:03
1 Answers
0
The compiler translates that code to assembly language for you.
try to view the generated assembly:
gcc -S filename.cpp

srv236
- 509
- 3
- 5