Question: b ) Consider the C code below, where H and J are constants declared with #define. int array 1 [ H ] [ J ]
b Consider the C code below, where H and J are constants declared with #define. int arrayHJ; int arrayJH; int copyarrayint x int y arrayyx arraylxy; return ; Suppose the above C code generates the following x assembly code: # On entry: # edi x # Sesi Y # copyarray: movsla esi, frsi movsla fedi, Srdi mova rsi, frax salq $ frax suba frsi, frax addq rdi, frax leaq &rdi, Erdi, Srdi addq rsi, Srdi movl array rdi, fedx movl fedx, array frax, movl $eax ret Add annotation to the assembly code. What are the values of H and J H J
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
