In this assignment we have to convert the given C code into assembly code and annotate the assembly code.
We have a C code named "asgn1.c"
Run the following command to convert the given C code into x86 assembly code:
cc -Wall -S asgn1.c
The above command will generate a file named "asgn1.s" which contains the assembly code.
The annotated assembly code is in the file "ass1_20CS10079.s".