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

(.9. Derived from the multiplication in computer is method learned in grammar sc

ID: 2083261 • Letter: #

Question

(.9. Derived from the multiplication in computer is method learned in grammar school, integer accomplished by iterative and (.10). The single-cycle datapath conceptually described in the class and in the textbook (Chapter 4) must separate Instruction and memories beause a. The format of data and instructions is different in MIPS and hence different memory are needed. b. having separate memories is less expensive. c. The processor operate in one cycle and cannot use a single-ported memory for two different accesses within that cycle. (2.1) of all the available datapath components, please specify (place a checkmark) whether the component will be needed for the execution of instruction lw Ssl, 4000ss2) Yes No O O Instruction memory O D ALU O O Register file O O Sign extension unit D D Data memory (2.2) For each of the following statement, place a checkmark in the column identifying which memory technology, SRAM or DRAM, the statement best describes. SRAM DRAM O is used for cache memory D is used for main memory O is the faster one of the two technologies O is the cheaper one of the two technologies (2.3). For the following MIPS instrucitons, they will use the alrithmetic-logic unit (ALU)after reading the registers, please explain what is the function of ALU for each instruction. ALU function a: AND $s3, Ssi, Sis2 to: SW S12, 200(Sti c: BEQ Ss1, Ss 2, offset

Explanation / Answer

2.1

LW $s1, 400($s2)

in this instruction lw stands for LOAD WORD

it will load the data from memory location [$s2 + 400] and will move it to the $s1

This instruction will require:

Instruction memory: obviously for executing the insruction set

register file: to move the data from one place to other

data memory: it is required for data moving.

SINCE YOU HAVE SUBMITTED MORE THAN ONE QUESTION AT A TIME

SO I HAVE ONLY SOLVED THE FIRST QUESTION (ACCORDING TO CHEGG POLICY)

PLEASE SUBMIT ONE QUESTION AT A TIME