I was told to use a disassembler. Does gcc have anything built in? What is the easiest way to do this?
gcc
You might find ODA useful. It's a web-based disassembler that supports tons of architectures.
http://onlinedisassembler.com/