Try below command
gcc -g -m32 -o lab1-ex0.exe lab1-ex0.s
Then you will get lab1_ex0.exe
Try to use below some tools to analysis lab1_ex0.exe
objdump -S ... nm file strace -f ...
Try to understand the contents of this .s file.