阿摩線上測驗 登入

申論題資訊

試卷:101年 - 101 國立中山大學_碩士班招生考試_資工系(甲、乙組):計算機結構#105905
科目:中山◆資工◆計算機結構
年份:101年
排序:0

申論題內容

3. The following C procedure swap is compiled into the corresponding MIPS
assembly code. Assume that the parameters v and k, and variable temp are in registers $a0, sal and $to, respectively. Other registers that can be used are St1 and St2. C procedure:
61ea157233896.jpg

61ea158b228c0.jpg
Please determine proper values for the operands (OPA, OPB, OPC, OPD). Copy the
following table (Table 3) to your answer sheet and fill in the operand values.
61ea15a1aaaf0.jpg