os_kernel_lab/related_info/lab1/lab1-ex3.md

205 B

inline assembly for C example

Try below command

gcc -m32 -S lab1-ex3.c

Then you will get lab1_ex3.s

Try to understand the contents of this .s file and the relation between .c file and .s file.