Math Problem Statement

5.函数P与结构体test的定义如下,并请完成以下的问题: struct test { char *a; char b; int c; }; long P(long x, long y, struct test *s) { long u = Q(y); long v = Q(x); return u+v+(s->c); } 1P: 2 pushq %rbp 3 pushq %rbx 4 pushq %r12 5 subq $8, %rsp 6 movq %rdx, %r12 7 , %rbp 8 movq , 9 call Q 10 movq , 11 movq , 12 call Q 13 addq %rbx, %rax 14 addq , 15 addq $8, %rsp 16 popq %r12 17 popq %rbx 18 popq %rbp 19 ret 补全P函数对应的汇编代码中的缺失部分;

Solution