[Solved]Q4 Consider Datapath Shown Fil Table Instructions Wr Write Da Deddress 2 R4 Memoryr 11 Reg Q37045014
Q4: A) Consider the Datapath shown Fil up the table below for the instructions WR write DA-Deddress 2. R4 ← MemoryR! 11 Register ie when it is executed in the Datapath. ALU ops for AND, OR, SUB, and LOAD are 000, 001, 010 and 011 respectively. There are 8 registers in the register file. RAM DATA OUT ALU S-MD A Address B Address DAddress Write MD FS B) Consider the following format for instruction words and the function table 3 2 15 Opcode Function 0001000 ADD 0011001 ADD 0100110 XOR 0010101 AND Dustinaliva Opcode (a) Register 9 8 15 Souroe reg register (DR) er AISA) Operand (OP) Destination Opcode 0000001 NOR (b) Immediate What are the contents of destination registers after the following instructions are executed (co the initial content (value) of registers to be twice of register number, e.g., content of R1 is 2 a i) 0100110 010 010 0121 Ans. Destination Register and Content l) 0010100 011 101 001 Ans. Destination Register and Content Show transcribed image text Q4: A) Consider the Datapath shown Fil up the table below for the instructions WR write DA-Deddress 2. R4 ← MemoryR! 11 Register ie when it is executed in the Datapath. ALU ops for AND, OR, SUB, and LOAD are 000, 001, 010 and 011 respectively. There are 8 registers in the register file. RAM DATA OUT ALU S-MD A Address B Address DAddress Write MD FS B) Consider the following format for instruction words and the function table 3 2 15 Opcode Function 0001000 ADD 0011001 ADD 0100110 XOR 0010101 AND Dustinaliva Opcode (a) Register 9 8 15 Souroe reg register (DR) er AISA) Operand (OP) Destination Opcode 0000001 NOR (b) Immediate What are the contents of destination registers after the following instructions are executed (co the initial content (value) of registers to be twice of register number, e.g., content of R1 is 2 a i) 0100110 010 010 0121 Ans. Destination Register and Content l) 0010100 011 101 001 Ans. Destination Register and Content
Expert Answer
Answer to Q4: A) Consider the Datapath shown Fil up the table below for the instructions WR write DA-Deddress 2. R4 ← MemoryR! 1… . . .
OR

