annotate test/tmpb.c @ 928:96c53f76b360

fix
author kono
date Sun, 13 Apr 2014 10:21:40 +0900
parents c2c709727221
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
590
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
1 extern int printf(const char *,...);
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
2
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
3 #ifdef INLINE
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
4 #else
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
5 #define INLINE
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
6 #endif
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
7
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
8 int hoge();
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
9 void aho();
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
10
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
11 int
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
12 main()
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
13 {
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
14 aho();
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
15 return hoge();
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
16 }
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
17
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
18 INLINE void
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
19 aho()
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
20 {
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
21 register int i = 0;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
22 register int a0 = 0;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
23 register int a1 = 0;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
24 register int a2 = 0;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
25 register int a3 = 0;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
26 register int a4 = 0;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
27 register int a5 = 0;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
28 register int a6 = 0;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
29 register int a7 = 0;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
30 register int a8 = 0;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
31 register int a9 = 0;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
32 register int aa = 0;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
33 register int ab = 0;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
34 register int ac = 0;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
35 register int ad = 0;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
36 register int ae = 0;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
37
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
38 i= i+1;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
39 int j;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
40 j= i+1;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
41 int k=3;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
42 k = j+4;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
43 k = ((((i+1)-((j*(k+3))+2))-((j*3*(2+(2+(2+k))))+k*(2+(2+(2+k))))-((j*4)+k*3)
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
44 + ((i+1)-((j*(k+3))+2))-((j*3*(2+(2+(2+k))))+k*(2+(2+(2+k))))-((j*4)+k*3))
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
45 + (((i+1)-((j*(k+3))+2))-((j*3*(2+(2+(2+k))))+k*(2+(2+(2+k))))-((j*4)+k*3)
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
46 + ((i+1)-((j*(k+3))+2))-((j*3*(2+(2+(2+k))))+k*(2+(2+(2+k))))-((j*4)+k*3)))
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
47 + ((((i+1)-((j*(k+3))+2))-((j*3*(2+(2+(2+k))))+k*(2+(2+(2+k))))-((j*4)+k*3)
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
48 + ((i+1)-((j*(k+3))+2))-((j*3*(2+(2+(2+k))))+k*(2+(2+(2+k))))-((j*4)+k*3))
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
49 + (((i+1)-((j*(k+3))+2))-((j*3*(2+(2+(2+k))))+k*(2+(2+(2+k))))-((j*4)+k*3)
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
50 + ((i+1)-((j*(k+3))+2))-((j*3*(2+(2+(2+k))))+k*(2+(2+(2+k))))-((j*4)+k*3)));
748
c2c709727221 i64 continue... basic.s assembled.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 590
diff changeset
51 printf("#0050:%d %d %d\n",i,j,k);
590
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
52 int m=3;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
53 k = ((((i+1)-((j*(k+3))+2))-((j*3*(2+(2+(2+k))))+k*(2+(2+(2+k))))-((j*4)+k*3)
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
54 + ((i+1)-((j*(k+3))+2))-((j*3*(2+(2+(2+k))))+k*(2+(2+(2+k))))-((j*4)+k*3))
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
55 + (((i+1)-((j*(k+3))+2))-((j*3*(2+(2+(2+k))))+k*(2+(2+(2+k))))-((j*4)+k*3)
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
56 + ((i+1)-((m*(k+3))+2))-((j*3*(2+(2+(2+k))))+k*(2+(2+(2+k))))-((j*4)+k*3)))
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
57 + ((((i+1)-((j*(k+3))+2))-((j*3*(2+(2+(2+k))))+k*(2+(2+(2+k))))-((j*4)+k*3)
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
58 + ((i+1)-((j*(k+3))+2))-((j*3*(2+(2+(2+k))))+k*(2+(2+(2+k))))-((j*4)+k*3))
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
59 + (((i+1)-((j*(k+3))+2))-((j*3*(2+(2+(2+k))))+k*(2+(2+(2+k))))-((j*4)+k*3)
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
60 + ((i+1)-((j*(k+3))+2))-((j*3*(2+(2+(2+k))))+k*(2+(2+(2+k))))-((j*4)+k*3)));
748
c2c709727221 i64 continue... basic.s assembled.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 590
diff changeset
61 printf("#0060:%d %d %d\n",i,j,k);
590
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
62 }
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
63
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
64 int
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
65 hoge()
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
66 {
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
67 aho();
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
68 return 0;
cc2a83f98188 ia32 reorganization etc.
kono
parents:
diff changeset
69 }