3 ms·
I found compiler output to be a good resource. $ gcc foo.c -S
by basementcat 7y ago
I found compiler output to be a good resource.
$ gcc foo.c -S
- eldavido 7y agoMaybe people think you're kidding with this response? By far the best way to learn IMO, write C and see how it translates.
- self_awareness 7y agoA little bit more convenient, at least for me: https://godbolt.org/ https://godbolt.org/
- versteegen 7y agoIn order to get original source interspersed in the assembly, run gcc -c -g foo.c objdump -S foo.o