Do your work in your Odin /2240/a/ folder. Name your program: /2240/a/lab10.asm. Bring in your lab-9 Makefile. Remove unnecessary entries in your Makefile. Start with one of the lab-9 assembly programs. This is so you can start with a working x86 program.
Follow along as we write a C program. Name your program: /2240/a/double.c. Produce assembly output with gcc double.c -S Investigate the GCC assembly output. Get the C program functionality working in your lab10.asm program.
Try to get your program to use the x86 fsin function, and display a result.
Extra points for: 1. Calculating and printing the sine of your number. 2. Using scanf to input a floating-point number.
Your program /2240/a/lab10.asm will be collected.