Convert C code to Assembly using Keil
Step 1: Save your file with "file_name.C" (dot c) extension.
Step 2: Build file >> Debug option >> Start/stop debug session
Step 3: Veiw >> Disassembly window
Step 4: A new window pops up, or click at the disassembly tab at the botton, as shown in the below figure .