A C function fun has the following code body: *p = d; return x - c;
The IA32 code implementing this body is as follows:
1. movsbl 12(%ebp), %edx
2. movl 16(%ebp), %eax
3. movl %edx, %eax
4. movswl 8(%ebp), %eax
5. movl 20(%ebp), %edx
6. subl %eax, %edx
7. movl %edx, %eax
Write a prototype for function fun, showing the types and ordering of the arguments p, d, x, and c.