Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22472

How to convert .s to .asm?

$
0
0

So I was having fun with MikeOS but I suck at Assembly. So I wrote a program in C, and convert it to Assembly with GCC(IN Ubuntu). But when I convert it, it ends up as a .s file. So how do I convert this to .asm? The command I used to make the .s file is;

gcc -S test.c

So another way to do this is, how do I convert .s to .bin? That might help as well.

Thanks!


Viewing all articles
Browse latest Browse all 22472

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>