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