所屬科目:中山◆電機◆計算機結構
(a)Given the instruction architecture as follows. (20%)Transfer the C program block as follows to the machine code as you can. (Assume: Start address of 32-bit integer array A--> 0x1000,
Start address of 32-bit integer variable k- -> 0x1100 and Start address of 32-bit integer variable i -> 0x1104)
(b) Suppose we have made the following measurements of average CPI for instructions:
Compute the effective CPI for the machine code at(a). (10%)