Please enable JavaScript to view this site.

Function that returns the sum of n elements of an array.

Syntax

i32 sum16_mem (u16 buff, i32 nEl)

buff

Array of u16

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


 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC