Eric Biederman | 530b519 | 2003-07-01 10:05:30 +0000 | [diff] [blame^] | 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 | d = val[2]; | ||||
8 | c = a*b; | ||||
9 | val[3] = c; | ||||
10 | a = c / d; | ||||
11 | } |