projects
/
coreboot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
romcc: kill gcc warnings and .gitignore generated files
[coreboot.git]
/
util
/
romcc
/
tests
/
simple_test41.c
1
static void main(void)
2
{
3
unsigned long a,b,c, d;
4
volatile unsigned long *val = (volatile unsigned long *)0x1234;
5
a = val[0];
6
b = val[1];
7
c = a*b;
8
val[2] = c;
9
d = val[3];
10
a = c / d;
11
b = c % d;
12
val[4] = a;
13
val[5] = b;
14
}