7 Pages

ece367_fall2003_me_v1

Course: EECS 265, Fall 2009
School: Ill. Chicago
Rating:
 
 
 
 
 

Word Count: 889

Document Preview

code: Web Last name: First name: Signature: Score: ECE 367 - Microprocessor-Based Design Midterm Examination (7 pages, 26 problems: 50 minutes, closed book and notes.) No electronic devices other than a calculator are permitted. IMPORTANT: Please be aware that academic dishonesty will result in grade E for the course, and possibly dismissal from the University. Looking at another exam paper, showing someone your...

Register Now

Unformatted Document Excerpt

Coursehero >> Illinois >> Ill. Chicago >> EECS 265

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.
code: Web Last name: First name: Signature: Score: ECE 367 - Microprocessor-Based Design Midterm Examination (7 pages, 26 problems: 50 minutes, closed book and notes.) No electronic devices other than a calculator are permitted. IMPORTANT: Please be aware that academic dishonesty will result in grade E for the course, and possibly dismissal from the University. Looking at another exam paper, showing someone your exam paper, violating the closed book/notes rule, or otherwise communicating exam problem information to/from another student during the exam is considered to be academically dishonest. Should you have any questions about this policy or about any of the exam questions, please step up to the front and ask the instructor for clarification. 1. What value is represented by the byte $A3 when the code being used is a) unsigned binary: ( )10 b) signed binary: ( )10 2. What value is represented by the byte $3A when the code being used is ( )10 a) unsigned binary: b) signed binary: ( )10 2003 University of Illinois at Chicago ECE 367 V. Goncharoff 3. What are the values of C and V flags after these 68HC11 assembly language instruction are executed? LDAA #$FF INCA C= , V= 4. Translate the following 68HC11 assembly language instructions into machine code (the first one is done for you): LDAB 0,Y BRA * ADDD #10 $18 __$E6__ $00_ ________________ ________________ 5. (Circle only one letter) Which of these 68HC11 instructions takes longest to execute? a) b) c) d) INC 0,Y CMPB #$0A RTS RTI 6. (Circle only one letter) Which of these 68HC11 instructions has the longest machine code? a) b) c) d) INC 0,Y CMPB #$0A RTS RTI 7. (Circle only one letter) Which of these 68HC11 instructions does not change the stack pointer register contents? a) b) c) d) JSR Delay JMP Delay RTS RTI 2003 University of Illinois at Chicago ECE 367 V. Goncharoff 8. Assume that IX has already been initialized to $1000, and symbol PORTB has been equated with $04. Write a single 68HC11 instruction that clears bits {PB0, PB7} without affecting the state of any other bits in Port B: 9. Assume that IX has already been initialized to $1000, and symbol TFLG2 has been equated with $25. Write a single 68HC11 instruction that loops to itself until the TCNT timer overflow flag becomes set: 10. What are the contents of register IY after instruction "LDY Here" executes in the code below? ORG Here: LDY Here $FF00 $ __ __ __ __ 11. How many clock cycles of delay is introduced by calling subroutine "Delay" below? Round your answer to the nearest billion. Delay: PSHY LDY PSHY LDY DEY BNE PULY DEY BNE PULY RTS #65535 #65535 A2 (5) (4) (5) (4) (4) (3) (6) (4) (3) (6) (5) A1: A2: A1 Answer: billion clock cycles 2003 University of Illinois at Chicago ECE 367 V. Goncharoff 12. What is the duty cycle of the waveform produced at PORTB by the endless loop EQU below? PORTB LDX LDAA STAA LDAA STAA NOP NOP NOP BRA $04 #$1000 #$00 PORTB,X #$FF PORTB,X (2) (4) (2) (4) (2) (2) (2) (3) Loop: % Loop 13. Given that the frequency of E clock is 2 MHz, what is the frequency of the PORTB waveform produced by the endless loop below? (The number of clock cycles per instruction are shown in parentheses.) PORTB EQU $04 LDX #$1000 CLRA EORA STAA BRN EORA STAA BRN EORA STAA BRA #$FF PORTB,X Loop #$FF PORTB,X Loop #$FF PORTB,X Loop (2) (4) (3) (2) (4) (3) (2) (4) (3) Loop: Hz 14. Write code to clear flag OC2F: 2003 University of Illinois at Chicago ECE 367 V. Goncharoff 15. When writing interrupt-driven code to produce a PWM waveform at PA4 of the M68HC11E, what two TOC registers would you use for this purpose? TOC__ , TOC__ 16. What prescaling factor and TCNT value would you use when writing interrupt-driven code to execute exactly every 0.001 sec? (E = 2MHz) More than one correct answer may exist; write only one answer below: Prescaling factor N = ___ , TCNT = ____________ 17. With circuit below, what bit pattern should be sent to Port B to have the seven-segment common-cathode LED to display digit "4"? common cathode PB0 MC68HC11 microcontroller a b c d e f g f e d a g b c PB1 PB2 PB3 PB4 PB5 PB6 PB7 Port B = $ __ __ 18. In Problem 17 control signal PB0 is: a) active high b) active low (circle a or b) 19. In Problem 17 control signals {PB1-PB7} are: a) active high 2003 University of Illinois at Chicago (circle a or b) b) active low ECE 367 V. Goncharoff 20. For the matrix keypad interface circuit below, write instructions that loop until key "8" is pressed. You may assume that Port C has been properly configured for both input and outp...

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:

CSU Sacramento - BULLETIN - 041408
NEWS | CALENDAR | ACADEMICS | HR | SUBMIT NEWS | BULLETIN HOME | Print version (pdf)THIS WEEKApril 14, 2008vol. 14, no. 28Disability Awareness Day to focus on Recreation without BarriersFull StoryNO BARRIERSParalympics silver medalist and ha
Colorado - PHYS - 3330
- -,IT ('e>l.O.:1.\IN\-JY\.'I'"\S reefN'\\-I)-hFY\IF-e;r(,J04.0J,-(jFST,/V!D5F J .T-0-tJIlo o.6V-(:;>V-+~'~y<>'fJ NtA,-J;:!"J-_-"0-_./, t ~ -t.~\,D/o-I en...,(9-v'I'qU1 v
UCSD - PHIL - 105
Humes Second Thoughts on Personal Identity (from the Appendix to A Treatise of Human Nature) I had entertain'd some hopes, that however deficient our theory of the intellectual world might be, it wou'd be free from those contradictions, and absurditi
Colorado - ECEN - 5523
An abstract syntax tree for COOL When constructing the tree the main focus was to make sure that for every possible computation there would be an associated node. This makes the tree very verbose and likely has nodes that are unnecessary. The thought
Colorado - PHYS - 3310
Phys3310 Spring 2009Week 73.11Given the two diff. eq's:1 d X = C1 2 X dx21dY = C2 2 Y dy2where C1+C2 = 0. Given the boundary conditions in the figure, which coordinate should be assigned to the negative constant (and thus the sinusoid
CSU Sacramento - PT - 220
Therapeutic Exercise: Foundational ConceptsLois Bouglarides, PT, DPT, MS1Bread and ButterKnowledge of Anat/Kins/Pathokins/Physiol/Patho Exam: ROM and muscle Testing How to prescribe an ex program How to progress an ex program2Class Goals1.
Allan Hancock College - WEB - 902
UNIVERSITY OF WOLLONGONG School of Mathematics and Applied StatisticsSTAT902. Advanced Data AnalysisA SSIGNMENT 1Due: During second class of Week 21. Random variables X and Y have joint density function fX,Y (x, y) = 8xy , 0 < x < y < 1.(a)
CSU Sacramento - HIST - 127
HIST/HRS 127 Class Summary 1A Introduction to the CourseSpring 2009The class was dedicated to a description of course content and course requirements. For information, consult the course syllabus distributed in class. The instructor emphasized t
CSU Sacramento - SPHP - 228
SEMESTER PROCEDURESBEGINNING THERAPY 1. Read the client file 2. If there is no client file, it's gonna be a long interview! 3. Prepare interview questions for the first session. Get a babysitter if needed. 4. If the person has been here befor
Laurentian - E - 13388
For immediate releaseThursday, June 14, 2007Laurentian University gives the historical document Le Drapeau franco-ontarien to all Franco-Ontarian schoolsSudbury (Ontario) Laurentian University has offered to all French-language secondary school
Ill. Chicago - PCOL - 331
Dr. M. Radulovacki 415 CMW 6-3539OVERVIEW OF ANTIMICROBIAL THERAPYI. Classification of Antimicrobials Based on the Sites of Action A. Drugs which interfere with the cell wall: penicillins, cephalosporins, vancomycin, bacitracin, cycloserine, aztre
Colorado - LAM - 1010
Language Criticism and the Usage PanelThe role of language criticism in a multicultural societyLinguistics 1010 April 6, 2005Todays Questions What is the social context of conservative language criticism? What do we learn from a longitudinal st
Purdue - EDCI - 361
Purdue University Department of Curriculum and InstructionEDCI 361: Social Studies in the Elementary School Fall 2005Instructor: Jane Doe Visiting Assistant Professor BRNG XXX 494-XXX email@purdue.edu Secretary: Kathy Reppert LAEB 4115 494-4755O
CSU Sacramento - INDIV - 182
MacCannells Raison PhD in Rural Sociology Dissertation work in the Caribbean The Tourist came out ten years after his PhD was completed Based largely on Barthes Title not his, but actually the publishers idea Roland Barthes Signified Signifier
Colorado - ECEN - 5807
Part IVModern Rectifiers and Power System HarmonicsChapter 16 Chapter 17 Chapter 18Power and Harmonics in Nonsinusoidal Systems Line-Commutated Rectifiers Pulse-Width Modulated RectifiersFundamentals of Power Electronics1Chapter 16: Power
University of Texas - CS - 3343
2038 58 1315 51 2710 19 1286 49 6784 60 2543 89 8337 66 6678 95 1167 54 3145 82 3624 5 942 51 6754 53 6196 28 8885 43 676 65 362 34 5320 44 362 18 2227 57 45
CSU Sacramento - INDIV - 182
History of TourismIf I live to see the seven wonders Ill make a path to the rainbows end Ill never live to match the beauty againnew 7On July 7, 2007, history was made as the results of the worlds first-ever global poll were announced.new 7
CSU Sacramento - INDIV - 033
Department of Recreation, Parks & Tourism Administration RPTA 33: Race, Class, Gender and LeisureImages in the Media Assignment Overview: The media shapes our impressions of people, and although many of us realize that media images are often based
CSU Sacramento - INDIV - 182
The Paris Case: Origins of Alienated Leisure The Tourist: Chapter III The Paris Case Is work the opposite of leisure? How has modern man become at odds with (alienated from) his leisure? (You should understand this, although if you read the next fe
CSU Sacramento - INDIV - 182
RPTA 182: Travel & Tourism CLUSTERS Tourism locations often rely on the "cluster" effect While this might sounds like an odd concept initially, competition can be a good thing You might hear this referred to as "coopertition" CLUSTERS Clusters ca
CSU Sacramento - INDIV - 182
Watersheds,physicalgeography,naturalresources,culturallandscapesthey allcombinetocreateabioregion.ThisisyourLifePlace(tostealatermfrom landscapearchitectRobThayer).Howdoyouasatourismpromoter/manager createandmarketitsuniqueness?Howdoyouprotectit?Rela
CSU Sacramento - INDIV - 182
new 7 new 7 History of Travel Early Travel Four Roots of TourismReligion and Tourism History of Travel Sumerians were the first to invent money, the wheel and writing Sumerians began trade in 4000bc Early Travel Cruises began in Egypt 3000b
CSU Sacramento - INDIV - 182
RPTA 182: Travel & TourismThe New Boston Discovers the Old (Part II)You probably noticed that the first set of questions took you step by step to pg. 161 of the Boston article. These questions take you through the rest of the article. 1. Boston is
CSU Sacramento - INDIV - 182
Cultural Tourism The very act of making a building a landmark, or saying it is worthy of reconstruction (restoration or reinvestment) actually so changes the structure, that it is no longer what was to be preserved in the first place Cultural Touris
Colorado - AREN - 4317
AREN 4317Architectural Engineering DesignFall 2007SYLLABUSDescription: The objective of this course is to provide a capstone design experience in Architectural Engineering. The objective will be met through the complete and integrated engineer
Colorado - AREN - 3130
AREN 3130Building Systems LaboratorySpring 2008FLUID FLOW MEASUREMENTObjective: To develop a working knowledge of fluid flow measurement equipment and techniques.PART 1: Liquid flow measurementApparatus: ITLL Hydraulics Bench Flowmeter Demo
Ill. Chicago - PSYCH - 242
Review During the last lecture we were discussing the use of experiments as a way of answering questions about the causal relationship between variables If we can systematically manipulate a variable and show that it has an effect on another variab
Colorado - PHYS - 3070
Read Chapter 1 of E&E textbook Exams will be open book (so you need the textbook) Homework #1 posted on web page, due next Wednesday Office hours today 11 am noon (Gamow Tower F221) Lecture Notes posted as PDF files after each lecture Topics T
Colorado - ASTR - 1030
ASTR 1030, Accelerated Solar System Astronomy Midterm 1 Study SheetReading: Chapters 1-4. Declination is the angle above Earths equatorial plane.March 21RAJune 21 December 21 September 21I. SCALE OF THE UNIVERSE 1. Powers of 10
Colorado - ECEN - 5022
Laurentian - B - 8349
News ReleaseFor Immediate ReleaseCommuniquFebruary 20, 2007Laurentian University Professor wins TVO's Best Lecturer CompetitionSudbury (Ontario) Laurentian University congratulates Dr. Michael Persinger, winner of TVO's 2006-2007 Best Lecture
Purdue - JPNS - 202
JPNS202 Spring 2009@ e j D AN `@ Guideline for Conversation Test March 23 (M), 24 (T), and 25 (W) Topic: Interviewing a professor from a Japanese university Professor Yamada, who teaches at a university in Japan, is visiting Purdue University and w
Georgia Tech - PHYSICS - 2212
PHYS 2212 Recitation 07 Example a) Find the equivalent capacitance of this network. b) An unknown emf E is connected between points a and c. The potential dierence between points b and c is 2 V. Find the unknown emf and the energy stored on the 1 F c
Georgia Tech - PHYSICS - 2212
Michigan - SI - 1007
Title: View of field of boulders on flank of Cone Crater Description: An overall view of a field of boulders on the flank of Cone Crater as seen by the two members of the Apollo 14 crew. The view is looking south across the lunar valley
Michigan - SI - 1007
Wide-angle view of Station 4 during Apollo 17 second EVA Description: A wide-angle view of the area at Station 4 (Shorty Crater) as photographed by the Apollo 17 crewmen during the second Apollo 17 extravehicular activity (EVA-2) at t
Georgia Tech - PHYSICS - 2212
QUIZ #1Physics 2212 C Test Form#: 101 Name:_1. Print your name, test form number, and your full 9-digit Georgia Tech ID number in the section of the answer card labeled "STUDENT IDENTIFICATION". 2. Bubble in your test form number in columns 1-3, s
Georgia Tech - PHYSICS - 2212
Supplemental Notes - Charge Density(2nd Edition) A. Overview-What is Charge Density? The idea of "density" should not be a new idea to most students-ordinary "mass density" (mass per unit volume) is usually taught in middle school. At more advanced
Georgia Tech - ECE - 2030
STUDENT NAME and NUMBER: (PLEASE PRINT CLEARLY)Georgia Institute of Technology Department of Electrical and Computer EngineeringMarks: Q1 Q2 Q3 Q4 Q5 Total:/20 /20 /20 /20 /20 /100Test #2ECE2030: Introduction to Computer EngineeringDATE: O
Allan Hancock College - JP - 989
To appear in ICSE-18Monitoring Compliance of a Software System With Its High-Level Design Models Mohlalefi SefikaAamod SaneUniversity of Illinois at Urbana-Champaign Department of Computer Science 1304 W. Springfield Avenue, Urbana, IL 61801
UCSD - MAE - 214
University of Texas - L - 382
Understanding and serving usersIndividual differences among users Users as social beingsDiscussion groupsDevise 3 guidelines from the literature on user psychology Be as specific as possible Provide context where necessary Guideline should allow
Georgia Tech - CS - 3510
Georgia Tech - CS - 4803
Foundational ResultsCS 4803The General QuestionsGiven a computer system, how can we determine if it is secure?x Is there a generic algorithm that allows us todetermine whether a computer system is secure?sWhat do we mean by "secure"?x Us
Georgia Tech - CS - 4803
Secret Key Cryptography (II)CS 4803IDEAInternational Data Encryption Algorithm s ETH Zurich, 1991 s Similar to DES: 64-bit blocks s 128-bit keyssIDEA Top View64-bit Input 48-bit K1 k1k2k3k4 k5k6 128-bit Key key expansionRound 1 Round 2.R
Georgia Tech - CS - 2340
cs2340:AgileDe lopm nt ve eSpring 2007AgileDe lopm nt ve e1Now HiringCS TA's and Tutors Summer & Fall 2007Summer Courses CS 1301 CS 1315, CS 1316 CS 1371, CS 1372 CS 2110, CS 2200 CS 2340 You must apply (re-apply) every semester if
Michigan - DOCUMENT - 3167
Gas System Traveler (page 1) Sector: EMLC01Initials 1 Corrected BVBs Installed Comments: 2 Flow Restrictors Installed Comments: 3 Reducers and Master Shutoff Valves Installed Comments: 4 Connected to Leak Test Station & Gas Supply Comments: 5 Tightn
Michigan - DOCUMENT - 3171
Gas System Traveler (page 1) Sector: EMSC12Initials 1 Corrected BVBs Installed Comments: 2 Flow Restrictors Installed Comments: 3 Reducers and Master Shutoff Valves Installed Comments: 4 Connected to Leak Test Station & Gas Supply Comments: 5 Tightn
Michigan - VERSION - 4046
Gas System Traveler (page 1) Sector: EMS-C16Initials 1 Corrected BVBs Installed Comments: 2 Flow Restrictors Installed Comments: 3 Reducers and Master Shutoff Valves Installed Comments: 4 Connected to Leak Test Station & Gas Supply Comments: 5 Tight
Colorado - PHYS - 1110
Physics 1110: Mechanics Professors: Kevin Stenson Kathy Perkins Classroom: Duane G1B30 (here) Text: Physics for Scientists and Engineers Second Edition: A Strategic Approach Volume 1 by KnightWeb page: http:/www.colorado.edu/physics/phys1110/p
Maple Springs - CSE - 4412
Data Mining:Concepts and TechniquesMining Frequent Patterns, Associations, and Correlations Chapter 5.1-5.2.3 January 9, 2007CSE-4412: Data Minging1Chapter 5: Mining Frequent Patterns, Association and Correlations Basic concepts, and a r
Georgia Tech - ETD - 06032007
SECURE AND ROBUST COMPRESSED-DOMAIN VIDEO WATERMARKING FOR H.264A Thesis Presented to The Academic Faculty by Maneli NoorkamiIn Partial Fulllment of the Requirements for the Degree Doctor of Philosophy in the School of Electrical and Computer Eng
Colorado - LAM - 7430
Formatted: Font: ItalicTo Appear (2004), Language The English Resultative as a Family of Constructions* Adele E. Goldberg and Ray Jackendoff University of Illinois and Brandeis University14088 Foreign Languages Building 707 Matthews Ave. Urbana
Laurentian - A - 31789
Work StudySummer Experience Program2009-2010Placement CentreOffice Use OnlyApproved: _ Date: _ Student Name:Employer Job Proposal Form_ _ _If your proposal is approved, the following information will form the basis for the job descripti
Georgia Tech - GTH - 672
Name: Ali QasimiWeek of: 03/02~03/06/2009 Highlight-Implemented the PI intervals reconstruction method on GPU. OpenMP version on 8 core machine using GCCruns a 128x128x128 in around 14s, the GPU version runs in less than 6s Lowlight--Ne
Colorado - ACCT - 3230
Accounting 3230, Second Midterm key, Fall 2008page 1PROBLEM 1Cash Acct. rec. (net) Inventory Land PP&E Accum. deprec. PatentGoodwillBALANCE SHEETS ON 12/31/08 PYA, INC. SYA, INC CONSOLIDATED Book Fair Value Value $ 500,000 $ 20,000 20,000 22
Piedmont - MATH - 410
Spring 2009MontgomeryMath 410Iterated Functions 2Last time we spent some time investigating the function f (x) = 2x(1x) on the interval [0, 1]. There doesnt seem to be anything particularly special about the coecient 2 in our function, other
Maple Springs - KINE - 3650
Clarifications from last lectureParasympatheticRest and digestSympatheticFight or flightSteven Hawking does have ALS.Hes had it most of his adult life.Medulla Ventral SurfaceAnterior median sulcusContinues from spinal cordPyramids cor
CSU Sacramento - C - 133
Chem.313/12LectureAnnouncements Exam1Keywillbepostedsoon Lab2ReportDueToday NewHomeworkSet Fullsetnotyetready HW2.1Doby3/19 Ch.204,5,6,9,10(fromprevious),12 Ch.211,2,4,7SpectrometerComponents MainParts: LightSource(covered) WavelengthDi
Maple Springs - PHYS - 2020
Last 5 digits of student # 2265 91779 50151 9994 32127 95314 55779 11853 52659 43405 47636 3022 71300 98246 45799 94565 83590 21424 49292 99958 31983 45082 50890 75772 56606 33140 72544 32132 48518 19699 38079 72888 87589 98560 20553 28325 33804 4622
Georgia Tech - CS - 4451
QuaternionsCS 4451Euler Anglesy Rotations are defined as rotations about the x, y and z axes. Rotations about any other vector in space have to be broken down into equivalent rotations about the major axes. xzAnimationyzTo produce the ef