I218 Computer Architecture
Report 2
代写计算机架构 Question 1 (1)How is the instruction “sub $t9, $s4, $s7” translated to a machine instruction code?Answer the rs, rt, and rd fields in binary number.
Question 1 代写计算机架构
(1)How is the instruction “sub $t9, $s4, $s7” translated to a machine instruction code?
Answer the rs, rt, and rd fields in binary number.
![代写计算机架构](https://uhomework.com/wp-content/uploads/2022/03/25.png)
(2)Describe the role of the “funct” field. (0.5 pt.)
(3) Fill the blank (A), (B), (C) and (D) in the following code sequence which calculates “A[128]=i+A[i]” (The array “A” consists of 4- byte integer elements. Assume that “i” and the base address of “A” are allocated to $s1 and $s2, respectively). (1 pt. for all)
Question 2 代写计算机架构
- Describe the roles of the following components ② to ⑤ (2 pt for all)
– Ex.) ①:Holding the address of the instruction to be executed now
⑥:Selecting data to be written to a destination register between the data read from memory and the result of ALU calculation.
Question 3 代写计算机架构
According to the truth table below, draw combination circuits for “ALU control input[1]” with MIL logic symbols (AND, OR, NOT) (You don’t have to try logic simplification.). (1 pt.)
Caution
- A copy from others can’t be accepted.
- A duplicate answer gets zero point even if it is the original answer.
![代写计算机架构](https://uhomework.com/wp-content/uploads/2021/12/名片.jpg)