9 - BME 303 Lecture 21 Review for exam #2 Note: Attendance...

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

View Full Document Right Arrow Icon
1 BME 303 Lecture 21 • Review for exam #2 • Note: Attendance not counted for last Thursday since sheet wasn’t passed around. • Haven’t posted details of ABET assignment online, but will do so shortly (nothing changed from in-class description).
Background image of page 1

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

View Full DocumentRight Arrow Icon
7 • Next Tuesday (April 12), in class (2 – 3:15 pm). • Covers book chapters 5 – 10, lectures 12 – 19, slides 3 – 7 of lecture 20, and today. • Closed book examination. • No calculators or other computing systems of any kind are allowed. (You’ll mainly need to add, subtract small values.) • I will provide the information pages now posted on Blackboard.
Background image of page 2
8 Information Pages • I will post the information pages that I will provide with the exam on Blackboard. • This includes: – Exam #1 information page: ASCII table and partial Boolean logic table (also floating point format, powers of two table) – List of instructions (with opcodes, formats) – Descriptive list of TRAP routines – Descriptive list of other routines needed (stack routines, GETS)
Background image of page 3

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

View Full DocumentRight Arrow Icon
9 Information Pages
Background image of page 4
10 My Pre-exam Availability • I will have my normal office hours: after class and Friday 9-11 am. • I will provide updates if necessary on Thursday and on Blackboard before 9 am on Monday. • I recommend you check Blackboard for announcements after 9 am on Monday. • I will be out of town and out of touch all day next Monday.
Background image of page 5

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

View Full DocumentRight Arrow Icon
11 Topics covered in Exam #2 • LC-3 details: memory layout, registers (general and special purpose), condition codes • Instructions (in detail): what they do, how they are encoded • Addressing mode of instructions • Top down design, stepwise refinement • Constructs of structured programming (Sequential, Conditional, Iterative; For iterative: counted vs. sentinel, top test vs. bottom test) • Assembly language (labels, pseudo-ops) • The assembly process (symbol tables) • Programming clarity and style • Creating and using subroutines (Saving and restoring registers)
Background image of page 6
12 Topics covered in Exam #2 • Input and Output – Memory mapped vs. I/O mapped – Synchronous vs. asynchronous – Event triggered vs. Time triggered – LC-3 Details, I/O memory locations: KBSR, KBDR, DSR, DDR • System TRAP routines (what TRAP instruction does, how to use routines) • Stacks: What they are, how to use, underflow and overflow • Remember algorithms from lab/homework assignments • LC-3 idioms
Background image of page 7

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

View Full DocumentRight Arrow Icon
13 Exam Review • Exam will have a balance of easy, moderate, and difficult questions • If you’ve understood the programming assignments, then the exam should be straight-forward.
Background image of page 8
14 Example Problem What will the following code fragment do? (1) LEA R0, BME (2) PUTS . . . (15) BME .STRINGZ "BME" A. Display the word BME on the console. B. Crash with a dialog box complaining of an
Background image of page 9

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

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

This note was uploaded on 09/06/2009 for the course BME 303 taught by Professor Ren during the Spring '08 term at University of Texas at Austin.

Page1 / 76

9 - BME 303 Lecture 21 Review for exam #2 Note: Attendance...

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

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