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 an id to each byte-cell to use with bit vectors.
[sixpic.git]
/
tests
/
math
/
multi-byte-add-sub.c
blob
045eea26361a88ed660afd6f61255618b53023c5
1
// to test ints and bytes together
2
3
int
x
=
312
;
4
byte y
=
3
;
5
// x = x + y;
6
y
=
x
+
y
;
7
x
=
x
+
4
;
8
9
x
=
x
- (
y
+
2
);
// no borrow
10
x
=
x
-
4
;
// borrow