Variance and Standard Deviation

Find the variance and standard deviation from a sample dataset:

4.2    6.7     7.3     7.5     8.0     8.5     8.7     8.8     9.2     9.3

using x86 assembly.


Formula for variance and standard deviation:
Figure 1: Variance formula
Figure 2: Standard Deviation formula

The output of the program, using GNU GDB debugger:
Figure 3: Output of the program



Source code: https://github.com/nikAizuddin/research_x86asm/blob/master/sample_var_std_deviation/src/sample_var_std_deviation.asm

Project file: https://github.com/nikAizuddin/research_x86asm/tree/master/sample_var_std_deviation

Author

My photo
Kota Bharu, Kelantan, Malaysia
Studied Computer Graphics