Some of you asked about translating simple C programs into assembly code, and looking at the result to understand what happens at the instruction level, for a given high-level program.
You can run gcc as shown in the following example:
$ gcc -g -O0 -c -fverbose-asm -Wa,-adhlmn,-L hello.c > hello.S
This saves the generated assembly along with the corresponding high-level statements in hello.S.
You can also take a look at
https://godbolt.org/ which provides a similar online facility.