5 Pages

assm-problem-spr02

Course: ECE 2030, Fall 2008
School: Georgia Tech
Rating:
 
 
 
 
 

Word Count: 638

Document Preview

2030 Computer ECE Engineering Final Exam Problem Problem 1 (6 parts, 25 points) Assembly Language Programming This problem deals with a program to do chromakeying. The attached sheet lists the instruction set it uses. Chromakeying is used to superpose a figure, such as a weatherman, on a background image, such as a weathermap. + = Blue screen image Background image Combined image The chromakey program...

Register Now

Unformatted Document Excerpt

Coursehero >> Georgia >> Georgia Tech >> ECE 2030

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
2030 Computer ECE Engineering Final Exam Problem Problem 1 (6 parts, 25 points) Assembly Language Programming This problem deals with a program to do chromakeying. The attached sheet lists the instruction set it uses. Chromakeying is used to superpose a figure, such as a weatherman, on a background image, such as a weathermap. + = Blue screen image Background image Combined image The chromakey program is given 2 images, stored in memory: a) a blue-screen image which consists of a figure (e.g., windsurfer) in front of a blue screen this is stored in contiguous memory locations starting at address 1000; and b) a background image (e.g., a globe) on which the figure should be superposed this is stored in contiguous memory locations starting at address 3000. The program creates the combined image and stores it in memory starting at address 6000. Each of these words in memory contains a set of packed pixels. The code consists of a main program labeled chromakey (shown below) and two subroutines create_mask and mask_b (shown on pages 8 and 9). address 100 104 108 112 116 120 124 128 132 136 140 144 148 152 156 160 label chromakey: instruction addi $12,$0,1000 addi $13,$0,3000 addi $14,$0,6000 addi $15,$0,1512 lw $1, ($12) lw $2, ($13) jal create_mask jal mask_B and $6,$2,$3 and $7,$1,$4 or $8,$6,$7 sw $8, ($14) addi $12,$12,4 addi $13,$13,4 addi $14,$14,4 bne $12,$15,loop loop: 1 ECE 2030 Computer Engineering Final Exam Problem Part A (4 points) Suppose that when line 132 is reached while executing chromakey, registers $1 through $4 have the values shown in the table below. What value is in register $8 when line 144 is reached 3 cycles later? Note that all the values are given in hexadecimal notation except $2s value which is given in decimal notation. Give your answer in hexadecimal. Register $1 $2 $3 $4 $8 Value 0x35F3C339 39510 0xF00F0FF0 0x0FF0F00F Part B (4 points) How many words are read in from memory (using lw) by the chromakey program? total number of data words read: 2 ECE 2030 Computer Engineering Final Exam Problem address 250 254 258 262 266 270 274 278 282 286 290 294 label create_mask: loop: skip: instruction sub $3,$3,$3 addi $30,$0,3 addi $21,$0,8 add $22,$1,$0 and $20,$22,0xF bne $30,$20,skip or $3,$3,0xF0000000 srl $3,$3,4 srl $22,$22,4 subi $21,$21,1 bne $21,$0,loop jr $31 Part C (4 points) When the create_mask subroutine (above) is called from chromakey, what the are values in the following registers at line 262? Register $3 $30 $21 $31 Part D (4 points) The create_mask subroutine assumes that a word of packed pixels from the blue screen image is in register $1. It copies the value in $1 to register $22 (line 262). Then it unpacks the pixels (i.e., extracts each pixel from $22 in turn) and checks whether each pixel is blue (pixel value = 3) or not. How many pixels are packed in each word and how many bits are used to encode each pixel? Assume each word is 32 bits long. Value total number of pixels/word: number of bits/pixel: 3 ECE 2030 Computer Engineering Final Exam Problem address 500 504 508 label mask_B: instruction sub $4,$0,$3 subi $4,$4,1 jr $31 Part E (5 points) If register $3 has value 0xF0FF00F0 when the subroutine mask_B is called, what value does $4 have when the subroutine returns (i.e., at line 508)? Register $3 $4 Value 0xF0FF00F0 Part F (4 points) Assume twos complement arithmetic is being used. If $3 is treated as a boolean variable A, what boolean function does mask_B compute? In other words, give a Boolean expression in terms of A for what mask_B computes. 4 ECE 2030 Computer Engineering MIPS Instruction Set (subset) add subtract add immediate multiply divide and or and immediate or immediate xor xor immediate shift left logical shift right logical shift left arithmetic shift right arithmetic load word store word load upper immediate branch if equal branch if not ...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Georgia Tech - ECE - 2030
ECE 2030: Final ExamInstructions: You have 2 hours and 50 minutes to complete this exam. The exam is closed book. No calculators are allowed. Problem 1 Problem 2 Problem 3 Problem 4 Problem 5 Problem 6 Problem 7 Problem 8 _ _ _ __ _ _ _ _TOTAL_
UNC - COMP - 110
COMP 110 InheritanceTabitha Peck M.S. April 14, 2008MWF 3-3:50 pm Philips 3671Announcements2Questions?3Today in COMP 110 Inheritance4Inheritance Define a general class Later define specialized classes Specialized class inherits p
UNC - COMP - 110
COMP 110 InheritanceTabitha Peck M.S. April 16, 2008MWF 3-3:50 pm Philips 3671Announcements Help with Program 4 (Due next Wednesday) Final Monday, May 5 Philips 367 4:00 p.m.2Questions?3Today in COMP 110 More Inheritance4Inheri
Georgia Tech - ECE - 2030
ECE 2030: Test IIIInstructions: You have 80 minutes to complete this quiz. The quiz is closed book. No calculators are allowed.Problem 1 Problem 2 Problem 3 Problem 4 Problem 5_ _ _ _ _TOTAL_1) 20 points a) Draw a state transition diagram
UNC - COMP - 110
To randomize the array: (int)(5*Math.Random() *turns it into an integer and numbers between 0-4Sentinel Values Reference 2d array A[i][j] I= row j = column
Georgia Tech - ECE - 2030
0ECE 2030, Intro. To Computer Quiz No. 3: Apr. 2, 2004 Prof. John A. Copeland School of Electrical and Computer RULES. i ii. iiiName Eng., QUIZ 3GT#_ Seat No._EngineeringThis quiz is closed book. Calculators may not be used. Answer all quest
Georgia Tech - ECE - 2031
ECE 2031: Digital Design Laboratory Design LogbookEach team will be required to keep a logbook, documenting the design process for the end-of-theterm project. The logbook is intended to encourage collaboration and to aid in the documentation process
Georgia Tech - ECE - 2031
Assignment Sheet: Design Report ECE 2031: Digital Design LaboratoryLength: Point Distribution: *Due Date: 10 page maximum (body of the report) 500 points; submit one report per group Monday, July 28 no later than 12:00pm (noon) *Submit paper DIRECTL
Georgia Tech - ECE - 2040
School of Electrical and Computer Engineering ECE2040 Summer 2007, GT LorraineInstructor Professor George F. Riley Ofce: GTL 005 EMail: riley@ece.gatech.edu Webpage: http:/users.ece.gatech.edu/riley/ece2040/ Ofce Hours: Weekdays, 10:15 - 11:15 and b
Georgia Tech - ECE - 3040
John D. Cressler ECE 3040Microelectronic CircuitsECE 3040 Spring Semester 2008 School of Electrical and Computer Engineering Georgia Institute of Technology Dr. John D. Cressler When and Where:Lecture Place: Lecture Time: C341 Van Leer M-W-F 10:3
Georgia Tech - ECE - 3040
0AChapter 0 OverheadsGeorgia Institute of TechnologySchool of Electrical and Computer EngineeringJohn D. Cressler ECE 3040after Jaeger, Microelectronic Circuits, 1997after I. Ross, Proc. IEEE, vol. 86, p. 7, 19980BChapter 0 Overheads
Georgia Tech - ECE - 3040
Chapter 1 Reading AssignmentsECE 3040 Microelectronic CircuitsDr. John D. Cressler School of Electrical and Computer Engineering Georgia Institute of TechnologyTextbooks: (P = Pierret, J = Jaeger)Chapter 1 Semiconductors 1.1 semiconductor materi
Georgia Tech - ECE - 3040
ECE 3040 Dr. Alan Doolittle Microelectronic Circuits Homework #1Solutions NOTE: Some reference materials including tables, figures etc. handed out in class or in your text may be needed to solve these problems. 1.) Consider the drawing below. Let us
Georgia Tech - ECE - 3041
Evaluation Form ECE 3041Recommendation Report w/Mandatory ConsultationPrint clearly and legibly. Student Name_ Lab Section_ GT#_Writing Consultant__ 1st 2nd Did you attend a writing consultation?_Writing Assignment Number (circle one)Pledge o
Georgia Tech - ECE - 3041
ECE 3041 Assignment Sheet: Users Manual Cadence and Multisim SPICE Programs For 3041 Users Fall 2007Length Point Distribution Lecture Date Due Date 15 pages maximum; no minimum 0-90 points, plus 10 point homework assignment; regular letter grade bre
Georgia Tech - ECE - 3041
ECE 3041 Assignment Sheet: Recommendation Report A Comparison of Arbitrary Waveform Generators Fall 2008Length Point Distribution Lecture Dates Due Date no maximum, five page minimum 0-90 points, plus 10-point homework; regular letter grade breakpoi
Georgia Tech - ECE - 3041
ECE 3041 Assignment Sheet: Application Note Use of 1X and 10X Scope Probes Summer 2008 Length Point Distribution Lecture Date Due Date 12 page maximum; 4 page minimum 0-90 points, plus homework; regular letter grade breakpoints June 3, in lab June 27
Georgia Tech - ECE - 3042
ECE 3042 Assignment Sheet: Formal Lab Report with Evaluated Results and Uses MOSFET Amplifier Fall 2008Length Point Distribution Lecture Dates Consultation Dates Due Date 15 page maximum, excluding appendices, 3 page minimum 0-90 points, plus 10-poi
Georgia Tech - ECE - 3042
Evaluation Form ECE 3042Formal Lab Report with Mandatory Group ConsultationPrint clearly and legibly. Student Name_ Lab Section_ GT#_Writing Consultant__ 1st 2nd Did you attend a writing consultation with a draft? _Writing Assignment Number (ci
Georgia Tech - ECE - 3042
ECE 3042 WA 1 Assignment Sheet Memo with Recommendation National Instruments SPICE v. Cadence SPICE Fall, 2007 Length Point Distribution Lecture Date Due Date 4 page maximum (not including homework problems) 0-90 points, plus homework; regular letter
Georgia Tech - ECE - 3055
ECE 3055 Lecture 2 Instruction Sets Reading: Comp. Org. & Design, Chap. 2, Sec.1-10, 19 Storage (Hard Disk) Input / Output (Console, Network, Printer, Speaker, Microphone, Camera, .)CPU Control, DatapathRandom Access Memory (RAM)The Five Classi
Georgia Tech - ECE - 3055
Georgia Tech - ECE - 3055
ECE 3055 Lecture 2 Instruction Sets Reading: Comp. Org. & Design, Chap. 3 CPU Control, Datapath Storage (Hard Disk) Input / Output (Console, Network, Printer, Speaker, Microphone, Camera, .)Random Access Memory (RAM)The Five Classic Components of
Georgia Tech - ECE - 3055
Georgia Tech - ECE - 3075
ECE 3075 ASSIGNMENT NO. 8DATE ASSIGNED: DATE DUE: Tuesday March 27, 2007 Thursday March 29, 2007PROBLEM 8.1. Let U and V be i.i.d. N(0, 1). Find the moment generating function X( s ) for the product X = UV. PROBLEM 8.2. Let W and Z be i.i.d. Exp(1
Georgia Tech - ECE - 3075
January 9, 2007SCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING GEORGIA INSTITUTE OF TECHNOLOGY ECE 3075: RANDOM SIGNALS AND SYSTEMS SPRING 2007PREREQUISITE:ECE 2025, ISyE 3770, Calculus of Multiple VariablesCOURSE OBJECTIVES: Random Variables
Georgia Tech - ECE - 3076
ECE 3076, Summer 06, Solution for Hw1 Review Q#21 The five layers in the Internet protocol stack are from top to bottom the application layer, the transport layer, the network layer, the link layer, and the physical layer. The principal responsibil
Georgia Tech - ECE - 3076
ECE 3076, Summer 2006, Solution for HW#2 Review Question#6 The IP address of the destination host and the port number of the destination socket. Review Question#10 The applications associated with those protocols require that all application data be
Georgia Tech - ECE - 3076
pb3:~ copeland$ telnet users.ece.gatech.edu Trying 130.207.232.49. Connected to www-srv2.ece.gatech.edu. Escape character is '^]'. GET /copeland/jac/3076/index.html HTTP/1.1 Host:users.ece.gatech.edu HTTP/1.1 200 OK Date: Mon, 29 Jan 2007 16:27:02 GM
Georgia Tech - ECE - 3076
Return-Path: <apache@ns1.trafficadmin.net>Received: from mail.ece.gatech.edu (mail.ece.gatech.edu [143.215.151.200]) by imap.ece.gatech.edu (Cyrus v2.3.7) with LMTPA; Mon, 08 Sep 2008 12:58:08 -0400X-Sieve: CMU Sieve 2.3Received: from ns1.trafficadmi
Georgia Tech - ECE - 3080
Course SyllabusECE 3080 Semiconductor DevicesSchool of Electrical and Computer Engineering Georgia Institute of TechnologyDr. John D. CresslerChapterTopicsAssigned Reading (Anderson & Anderson, Section x.x) notesChapter 0 The Big Picture
Georgia Tech - ECE - 3080
6AChapter 6 OverheadsJohn D. Cressler16BChapter 6 OverheadsJohn D. Cressler26CChapter 6 OverheadsJohn D. Cressler36DChapter 6 OverheadsJohn D. Cressler46EChapter 6 OverheadsJohn D. Cressler56FChapter 6 Overhe
Georgia Tech - ECE - 3085
SOLUTIONS TO ECE 3085 ASSIGNMENT NO. 1PROBLEM 1.1. Problem 1.4 (a) (c).1 3 -1 (a) 1 (b) 0 -1 1 2 t 1 -1 t2 (c) t123PROBLEM 1.2. Problem 1.7 (a) (g).1(a) 0 10 20 30 40 500 500 1(b) (c) 010203040500 1 0 -1 20 10
Georgia Tech - ECE - 3085
ECE 3085 ASSIGNMENT NO. 2DATE ASSIGNED: DATE DUE: Wednesday May 23, 2007 Wednesday May 30, 2007PROBLEM 2.1. Consider a system that is initially at rest whose difference equation is y[n] = 2x[n 1] + y[n 1]. (a) (b) Sketch its impulse response. Dr
Georgia Tech - ECE - 3085
ECE 3085 ASSIGNMENT NO. 4DATE ASSIGNED: DATE DUE: Wednesday June 13, 2007 Thursday June 21, 2007PROBLEM 4.1. This problem concerns the signal x( t ) defined by the convolution: x( t ) = p( )p( t )d ,(a) (b) (c) (d) (e) (f) (g) (h) (i)whe
Georgia Tech - ECE - 3085
Lecture 21: Thu June 21, 2007Announcements HW 4 will be now Todays Lecture: The D. T. F. T.175The DTFT PairDTFT: Inverse: X() =k = x[ k ]ejk1 -x[ k ] = 2X()e+jkd176Example: First-Order Recursive Filterh[ k ] = aku[k]Plo
Georgia Tech - ECE - 3710
ECE 3710 Circuits and ElectronicsINSTRUCTOR: James Hamblen OFFICE: CoC 307 PHONE: 404-894-3027 E-MAIL: hamblen@ece.gatech.edu Class Web Site: http:/users.ece.gatech.edu/~hamblen/3710 Course Prerequisite: Phys 2122. Not for electrical or computer eng
Georgia Tech - ECE - 3710
ECE 3710 HW #1 Selected Solutions P1.14) i(t ) = dq(t ) dt so i(t ) = 6e 2t A P1.21) P = VI if the voltage and current refrences follow the Passive Refrence Convention (current enters the positive terminal of the voltage) a) Does not follow the PRC s
Georgia Tech - ECE - 3710
Score:_Name:_ECE 3710 Test 2Wednesday, June 16 Copy all of your answers to this cover sheet 1. Zeq = 2. / ohms (use phasor notation polar coordinates)Mesh equations only do not solve Mesh 1 Mesh 2 Mesh 3 I1( I1( I1( ) + I2( ) + I2( ) + I2( )
Georgia Tech - ECE - 3710
Georgia Tech - ECE - 3884
ECE 3884 Lab 01: Introduction to AT91SAM7L and IAR Georgia Institute of TechnologyFall 20081 IntroductionIn this lab you will familiarize yourself with the Atmel AT91SAM7L microcontroller, the IAR Embedded Workbench software, and the lab practic
Georgia Tech - ECE - 4000
Quick and Painless Guide to Finding ResourcesECE 4000: Project Engineering and Professional PracticeThis document is intended to provide ECE 4000 students with the tools necessary for conducting discipline-specific research. Information provided be
Georgia Tech - ECE - 4000
Research Project: Phase I DeliverablesChristina Bourgeois Coordinator, Undergraduate Professional Communications Program, ECE christina.bourgeois@ece.gatech.edu Van Leer E-268 Office Hours: M-F by appointmentOverview of Todays Lecture Selec
Georgia Tech - ECE - 4000
Georgia Tech - ECE - 4000
Guidelines for Effective Oral and Written CommunicationsECE 4000: Project Engineering and Professional PracticeCommunication skills are extremely important. Unfortunately, both written and oral skills are often ignored in engineering schools, so to
Georgia Tech - ECE - 4006
ECE 4006 Final PresentationGroup Name: Altera NIOS Robot Group Group Members John Sellers - Doug Messick - Kelvin Bunn - Sean JamesSchool of Electrical and Computer Engineering Georgia Institute of TechnologyECE 4006 Final Presentation Project
Georgia Tech - ECE - 4006
ECE 4006 - HamblenSWANSWAN: System for Wearable Audio NavigationMapping A Visual Environment to a 3D Audio SoundscapeShaun Thamer David Benson Tom Cheng Daisuke Arase Spring 2005ECE 4006 - HamblenSWANOutline Previous Work/Res
Georgia Tech - ECE - 4006
ECE 4006 Project Proposal and PresentationGroup Name: Altera NIOS Robot Group Group Members John Sellers - Doug Messick - Kelvin Bunn - Sean JamesSchool of Electrical and Computer Engineering Georgia Institute of TechnologyECE 4006 Project Prop
Georgia Tech - ECE - 4006
Georgia Tech - ECE - 4007
Georgia Tech - ECE - 4007
Georgia Tech - ECE - 4007
ECE4884 / 4007 Culminating Design ProjectFall 2007Individual Writing Assignment Technology Review Due Date: Wednesday, September 5th Length: 500-1000 words (1 to 2 pages)Overview and Rationale No designs are created in a vacuum. Most design
Georgia Tech - ECE - 4100
ECE 4100/6100 Advanced Computer ArchitectureINSTRUCTOR: James Hamblen OFFICE: CoC 307 PHONE: 404-894-3027 E-MAIL: hamblen@ece.gatech.edu Class Web Site: http:/users.ece.gatech.edu/~hamblen/4100/ COURSE DESCRIPTION: This course addresses advanced iss
Georgia Tech - ECE - 4100
ECE 4100 Laboratory Assignment 1 Due Date: June 12 Using version 3.0 of the SimpleScalar simulator running the SPEC95 tomcatv.ss floating point benchmark search the design space and design a processor using the sim-outorder tool. Start off with the s
Georgia Tech - ECE - 4100
SCORE:_Name:_ECE 4100/6100 Advanced Computer Architecture Exam III Summer 20041. (10 points) What limits the size and complexity of the L1 cache and why is an L2 (and even an L3) in common use today? The L1 cache is in the critical delay path f
Georgia Tech - ECE - 4100
Module 3: Branch PredictionECE4100/6100:YalamanchiliFall2003Control DependenciesDependenciesStructuralDataNameControlAntiOutput Control dependencies instructionsdetermineexecutionorderof Instructions are control dependent
Georgia Tech - ECE - 4110
ECE 4110 Internetwork Programming Lab 9: OSPF and Fixing Broken NetworksGroup Number: _ Member Names: _ _Date Issued: April 19, 2006 (Do NOT start before this date. The lab will not work.) Turn-in Due: April 27, 2006 This lab requires that you use
Georgia Tech - ECE - 4110
ECE 4110 Internetwork Programming Lab 3: UDP Traffic GeneratorGroup Number: _ Member Names: _ _ Date Issued: Tuesday Jan. 31, 2006 Date Due: Tuesday Feb. 7, 2006 Last Edited: 1/26/06 __ _Lab GoalsFinish a UDP sockets programs to transmit and rece
Georgia Tech - ECE - 4110
ECE 4110 Internetwork Programming Lab 2: TCP Traffic GeneratorGroup Number: _ Member Names: _ _ Date Issued: Tuesday Jan.24, 2006 Date Due: Tuesday Jan. 31, 2005 Last Edited: 1/24/2006 __ _Lab GoalsFinish a TCP sockets programs to transmit and re