所屬科目:研究所、轉學考(插大)、學士後-計算機概論
(a) (2%) Consider a datapath similar to the one in the textbook shown below, but for a processor that only has one type of instruction: unconditional PC-relative branch. What would the cycle time be for this datapath?
5. (12%) Translate the following C code to MIPS assembly code. Please use a minimum number of instructions. Assume that the values of a, b, i and j are in registers $s0, $s1, $to, and $t1, respectively. Also, assume that register Ss2 holds the base address of the array D.
(b) [3%] What is the MIPS rating for?
(d) [4%] Calculate the binary number (1.1100)*(-0.1101) step by step. You should use guard, round and sticky bit in rounding step. The result should store in IEEE 754 with 5 bits mantissa.
(b) [3%] For the total of two cases, how many entries does the cache have??