projects
/
fw
/
sdcc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* src/pic16/gen.c (pic16_freeAsmop): avoid NULL pointer dereference,
[fw/sdcc]
/
device
/
lib
/
pic16
/
libsdcc
/
fixed16x16
/
fps16x16_add.c
1
2
union u_t {
3
long value;
4
__fixed16x16 fix;
5
};
6
7
__fixed16x16 __fps16x16_add(__fixed16x16 a, __fixed16x16 b)
8
{
9
volatile union u_t u1, u2;
10
11
u1.fix = a;
12
u2.fix = b;
13
14
u1.value += u2.value;
15
16
return (u1.fix);
17
}