fall2003-exam2a

fall2003-exam2a - ECE 206-001 NC State University Exam 2...

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

View Full Document Right Arrow Icon
ECE 206-001 Name:___________________________________________ NC State University Exam 2 (A) – Nov. 4, 2003 1 Exam 2 (Version A) This is a closed book, closed notes exam. You may not use a calculator or electronic assistance of any kind. All work must be shown on the exam sheets (front or back); you may not include extra sheets of paper. An extra sheet has been provided with supplemental information. Turn this sheet in with your exam by tucking it inside the first sheet of your exam. Before you turn in the exam: 1. Write your name on every sheet of the exam. 2. Make sure you have the right number of pages, and that no pages are missing. 3. Read and sign the following statement. Failure to sign the statement will result in an automatic zero on the exam. I have neither given nor received unauthorized aid on this exam. I have taken reasonable measures to prevent other students from reading my answers. ________________________________________ Signature
Background image of page 1

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

View Full DocumentRight Arrow Icon
ECE 206-001 Name:___________________________________________ NC State University Exam 2 (A) – Nov. 4, 2003 2 Question Points Grade 1 21 2 20 3 15 4 10 5 12 6 12 7 10 TOTAL 100
Background image of page 2
ECE 206-001 Name:___________________________________________ NC State University Exam 2 (A) – Nov. 4, 2003 3 1. (21 points) You’re going to write an LC-3 subroutine that shifts the value in R0 to the right. The value in R1 indicates the number of bits to shift. (We’ll assume that R1 holds a value between 1 and 15.) For each box below, write LC-3 assembly language to perform the task indicated in the lefthand column. Some of the boxes are already filled in. Start subroutine at location x3500
Background image of page 3

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

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

Page1 / 9

fall2003-exam2a - ECE 206-001 NC State University Exam 2...

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

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