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
/
multi-byte.c
blob
e92544afbf0d717bcd5766a33ec8bd4fec3db4ac
1
// test for multibyte comparisons
2
3
int16 x
=
512
+
12
;
4
byte y
=
0
;
5
6
void
f
(
int16 x
){
7
if
(
x
==
524
)
y
=
y
+
1
;
// works
8
if
(
x
>
500
)
y
=
y
+
2
;
// works
9
if
(
x
<
1000
)
y
=
y
+
4
;
// works
10
return
;
11
}
12
13
f
(
x
);
14
15
y
;