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
/
control-structures
/
labels.c
blob
962466b337c1090b50cc9e0b3c7ecce37611e335
1
/* Now with labels */
2
3
void
f
(
int8 x
,
int8 n
)
4
{
5
while
(
n
>
0
)
6
{
7
foo
:
8
x
=
x
+
n
;
9
x
=
x
+
1
;
10
case
2
:
11
x
=
x
;
12
default
:
13
n
=
n
-
1
;
14
}
15
}
16
17
f
(
0
,
6
);