2 Compile this with GCC on a new platform, to learn various
3 things about argument-passing, return-returning, stack
7 extern long int foo (long int, double, void *, char *, double, long int, char, long int);
8 extern double bar (char, float, long int, long int, char *, char **);
11 foo (long int a, double b, void *c, char *d, double e, long int f, char g, long int h)
13 __asm__ volatile ("--- BEGIN ---");
14 bar(*d, (float) b, a, f, d, (char **) d);
15 __asm__ volatile ("--- END ---");
19 bar (char a, float b, long int c, long int d, char *e, char **f)
21 __asm__ volatile ("--- BEGIN ---");
22 foo(c, (double) b, (void *) 0, e, 0.0, d, a, d);
23 __asm__ volatile ("--- END ---");
33 for(y = 0; y < 1000; y++)