This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 00000007 16 , making it obvious that it is a 32-bit number. You should write X if the control signal doesnt matter. A 0 or 1 for a value for a signal that does not matter will be considered incorrect. Also assume that the value in register $8 is 0x10000000 and the value in register $9 is 0x10020000 Write Register = 01000 2 Address input of data memory = 0x10020018 Write Data input of data memory = 0x10000000 Control Signal Value (0/1/X) RegWrite 1 MemtoReg 1 RegDst MemRead 1 MemWrite ALUSrc 1 Control bits (4) to the ALU (specify all 4 bits) 0010 2 1 pt for each value above. I-Format: 31-26 25-21 20-16 15-0 opcode rs rt offset ALU Operation Control Control bits to ALU Operation done by ALU 0010 add 0110 sub 0000 and 0001 or 0111 slt...
View Full Document
- Spring '08