1 / 14

EE 333 Exam 1 September 28, 2006

Student ID. Name. Seat. EE 333 Exam 1 September 28, 2006. Answers. Instructions Print your name, student ID, and seat in the above blanks. This is a Closed Book exam. Do all of the problems. They may vary in points but the total is 100. Questions are short answer and problems.

carlos-goff
Download Presentation

EE 333 Exam 1 September 28, 2006

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Student ID Name Seat EE 333 Exam 1September 28, 2006 Answers Instructions Print your name, student ID, and seat in the above blanks. This is a Closed Book exam. Do all of the problems. They may vary in points but the total is 100. Questions are short answer and problems. Do not use any additional pages of paper. If you run out of room, use the back sides. Do not remove the staple. Please write clearly or print. Illegible or unreadable answers may not be graded for partial credit. Mark your answer with a box or star. University of Portland School of Engineering

  2. MIPS machine language (decimal) You may also use the following pseudo-instructions: la rdest, address lb rt, address sb rt, address University of Portland School of Engineering

  3. MIPS architecture University of Portland School of Engineering

  4. Problem 1, (10 pts) • What are the five classic components of a computer and what do they do? • Memory: holds instructions and data • Datapath: routes information around computer • Input: brings information into computer • Output: takes information away from computer • Control: coordinates the activities of computer University of Portland School of Engineering

  5. Problem 2, (10 pts) For the 16-bit hex number 0xff85 in two’s complement notation: • What is it’s decimal value? • What is it’s hex representation sign extended to 32-bits? University of Portland School of Engineering

  6. 1010 1100 1000 0010 0000 0000 0001 0000 Problem 3, (10 pts) Find the assembly instruction for: 0x ac82 0010 43 4 16 2 op rs rt immed rs rt sw $2, 16($4) University of Portland School of Engineering

  7. 0000 0001 0010 0010 0000 0000 0001 1010 Problem 4, (10 pts) For the MIPS assembly instruction div $9, $2 • What is the op code? • What is rs? • What is rt? • What is the function? • What is machine instruction in hex? op = 0 rs = 9 rt = 2 func = 26 = 0x 1a 0x 0122 001a University of Portland School of Engineering

  8. Problem 5, (10 pts) Write a program segment for c = a + b University of Portland School of Engineering

  9. Problem 6, (10 pts) Find the memory byte in hex. memory (hex) University of Portland School of Engineering

  10. Problem 7, (10 pts) Complete the table below for LS181 ALU University of Portland School of Engineering

  11. Problem 8, (10 pts) Design a “shift left logical” circuit that accepts a 16-bit input A and 2-bit shift amount Shamt that shifts A either 0, 1, 2, or 3 positions. Use only 16-bit shift left logical one position (SLL1) circuits and 16-bit Muxes. University of Portland School of Engineering

  12. Problem 9, (10 pts) For the MIPS architecture, complete the table 1 = Instruction Fetch 2 = Decode & Register Read 3 = Execution 4 = Memory Access 5 = Register Write University of Portland School of Engineering

  13. Problem 10, (10 pts) Draw the trace for signal Sout University of Portland School of Engineering

  14. Statistics University of Portland School of Engineering

More Related