Docsity

Quiz 4 with Solution - Introduction Computer Engineering | ECE 2504, Quizzes of Electrical and Electronics Engineering

Partial preview of the text

Download Quiz 4 with Solution - Introduction Computer Engineering | ECE 2504 and more Quizzes Electrical and Electronics Engineering in PDF only on Docsity!

ECE 2504: Introduction to Computer Engineering “ CRN 92019 ~ Fall 2010 Quiz 4 & October 20, 2010 Name: VT Student ID: This quiz is closed book and closed notes. Submission acknowledges that the work is solely your own. Consider the contents of register RO and R1 as shown below. Specify the contents of registers R2 through R9 after the following micro-operations are performed. Assume data words are eight bits and that two’s complement representation is assumed for arithmetic operations. Give all answers in binary. t RO=00001444—- Ri=11001+¢66- Micro-operation Register contents after micro-operation (a) R2 €shrR1 eYititiVrYtltY (b) R3 © shi RI R3 = ! (c) R4 € ashr R1 a | | OOLLO -3 (a) R5 < ashi Rd w-1 0 Ol | (e) R6