Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

computer consists of the following five components: CPU, memory, input, output a

ID: 3810510 • Letter: C

Question

computer consists of the following five components: CPU, memory, input, output and datapath. b. A32-bit immediate value cannot be placed in a register by a single MIPs instruction. c. A 32-bit value in memory cannot be loaded into a register by a single MIPs instruction. word (32-bit). each memory location S a In MIPS, RISC emphasizes doing more with each instruction while CISC emphasizes reducing the number and complexity of instructions in the machine. MIPS is a load-store architecture and has fixed instruction length. g. The "jump" operation of branches or jumps instructions is completed through changing the value of the register program counter (PC). h. The opcode field of all J-format MIPS instructions is 0. i. The instruction, jr, is used to jump to a given label, like "j loop" j. Not every decimal number has an equivalent floating-point binary representation. Place your answers to Problems in the blue booklet! 3-7 Problem 3 (15 pts): Encode the following MIPS instructions in binary a. Encode the following MIPS instruction in binary and hex format (a) bne Sv0, Sto, -8 (b) and Sa2, svl, St1 b. What MIPS instruction does the following 32-bit binary number represent? 000000000000011000 00000000101011

Explanation / Answer

False. Datapath along with the control unit composes the central processing unit (CPU). True. Due to memory restrictions immediate 32 bit values cannot be placed in a register by a single MIPS instruction. False. Larger constants can be loaded into a register 32 bits at a time. True. In MIPS, each memory location is a word. False. RISC has reduced number and complexity of instructions and CISC does more work in asingle instruction. True. MIPS uses the load/store architecture and has 32 bit instructions. True. As, program counter holds the value that points to the memory location whose instruction is being currently processed, changing the value at PC enables jump operation. False. The 6 bit opcode in J-type instruction corresponds to the particular jump command. False. jr instructuion is followed by a register. (jr          $ra ) False. Decimal numbers can be represented exactly, if you have enough space - just not by floating binary point numbers