davetcw
Member
How can I average values in an array when the array is not full? For example, I have an array of size 1440. However, if only six values are loaded, how can I get an average of just those six? I was trying to use the MAVE instruction but if the array is not full, the average is not accurate.