Se usi gcc puoi utilizzare l'opzione -S che crea un file .asm del sorgente.