repo.or.cz
/
sixpic.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added long jumps and calls. PICOBIT can now be assembled.
[sixpic.git]
/
tests
/
conditions
/
non-zero.c
blob
213b87f591c4a5110ba0a2838c6aabaf6baa4be8
1
// simpler sigma, to test the new condition system
2
int
sigma
(
int
n
){
3
int
res
=
n
;
4
while
(
n
--){
5
res
=
res
+
n
;
6
}
7
return
res
;
8
}
9
10
sigma
(
5
);