In the following code, we have omitted the definitions of constants M and N: We compiled this

Question:

In the following code, we have omitted the definitions of constants M and N:

#define M #define N /* Mystery number 1 */ /* Mystery number 2 */ int arith (int x, int y) { int result = 0;

We compiled this code for particular values of M and N. The compiler optimized the multiplication and division using the methods we have discussed. The following is a translation of the generated machine code back into C:

/* Translation of assembly code for arith */ int optarith (int x, int y) { int t = x; } x < >= 3; /*

What are the values of M and N?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Computer Systems A Programmers Perspective

ISBN: 9781292101767

3rd Global Edition

Authors: Randal E. Bryant, David R. O'Hallaron

Question Posted: