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
New version of the assembler, that does better branch generation.
[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
);