Function that returns the sum of n elements of an array.
Syntax |
i32 sum32_mem (u32 buff, i32 nEl) |
---|---|
buff |
u32 array |
nEl |
Number of elements in the array that you want to sum from the first position |
Result |
Returns the sum of the top nEl elements of the array |
Validity |
Rule, Task |
Note |