Find the mean value

Example how to find the mean value of a dataset:

11.6    12.6    12.7    12.8    13.3    13.3    13.6    13.7    13.8    11.4

using x86 assembly.

The equation for mean is:
Figure 1: Mean equation

The output of this program using GNU GDB debugger is:
Figure 2: Output of the program using GNU GDB


Full source code: https://github.com/nikAizuddin/research_x86asm/tree/master/calc_mean

No comments:

Post a Comment

Author

My photo
Kota Bharu, Kelantan, Malaysia
Studied Computer Graphics