projects
/
fw
/
sdcc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix: added includes
[fw/sdcc]
/
support
/
regression
/
tests
/
longlit.c
1
/* Testing arithmetics with long litterals
2
*/
3
4
#include <testfwk.h>
5
#include <stdio.h>
6
7
#define OSCILLATOR 11059200
8
#define BAUD 19200
9
10
#define T1_RELOAD_VALUE -(2*OSCILLATOR)/(32*12*BAUD)
11
12
char T1=T1_RELOAD_VALUE;
13
14
void test (void) {
15
ASSERT(T1==0xfd);
16
}