Practice Midterm Examination 97

Practice Midterm Examination 97 - Name Computer...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Name Computer Architecture EE 4720 Practice Midterm Examination Before 14 March 1997, 12:40 CST Modified 11 March 1998 Alias Problem 1 (25 pts) Problem 2 (25 pts) Problem 3 (25 pts) Problem 4 (25 pts) Exam Total (100 pts) Good Luck! Problem 1: Consider a new instruction, addbi (add big immediate). This instruction adds the contents of two registers plus a 32-bit immediate. For example, addbi r1, r2, r3, #123 ! r1 = r2 + r3 + 123 (a 32-bit constant). The instruction is coded using two words, the first word is coded the same way as an add instruction, except the opcode is different. The second word contains the 32-bit immediate. ( a ) Show how the DLX pipeline could be modified to implement addbi. X3DX30 X49X52 X49X52 X49X4DX4D X41X64X64X72 X41X64X64X72 X41X64X64X72 X44X61X74X61 X44X61X74X61 X44X61X74X61X20X49X6E X41 X42 X41X4CX55 X53 X49X47X4E X45X58X54 X36X2EX2EX31X30 X31X31X2EX2EX31X35 X31X36X2EX2EX33X31 X49X52 X4EX50X43 X4EX50X43 X50X43 X4DX65X6DX6FX72X79X20X50X6FX72X74 X41X64X64X72 X44X61X74X61...
View Full Document

Page1 / 5

Practice Midterm Examination 97 - Name Computer...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online