Function that returns the sum of n elements of an array.
Syntax |
i32 sum8_mem (u8 buff, i32 nEl) |
---|---|
buff |
Array of u8 |
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 |
Example of use:
|