projects
/
calu.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
progs: fun with deepjit (still doesn't work on real hardware :/)
[calu.git]
/
1_isacmp
/
sum.c
1
int sum(int len, int arr[])
2
{
3
int i;
4
int sum = 0;
5
for (i = 0; i < len; i++) {
6
sum += arr[i];
7
}
8
return sum;
9
}