1 / 8

ECE 265

ECE 265. Midterm Review. Administrivia. The grade for quiz 3 was not entered into to Carmen before I handed them back. I realize that the only fair way to handle this is … A proposal

adeola
Download Presentation

ECE 265

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. ECE265 ECE 265 Midterm Review

  2. Administrivia • The grade for quiz 3 was not entered into to Carmen before I handed them back. • I realize that the only fair way to handle this is … • A proposal • If you want your grade on quiz 3 to be included give it back to me. If you don’t wish to use it, you will simply have one less quiz. Of the quizzes you do have the low will still be dropped. ECE265

  3. Midterm Review Overview • What is on the exam • Material up through the end of lecture 8 • Quiz review – as some questions on exam will be much like what was on quiz 3 and 4. • Quick highlights of the lectures • High level architectural questions such as how many ports, timers, etc. • Addressing modes – how is the effective address of the operand determined • The assembler instructions and their action. ECE265

  4. Topics Covered • The 68HC11 architecture • Programmers Model • Addressing Modes • Basic Instructions • Short pieces of code ECE265

  5. Know how to do this • Write a program to add the contents to location $C000 and location $C001. If overflow did not occur store the results at $C001. If overflow did occur, store a value of $FF at location $C001. ECE265

  6. The start • Write a program to add the contents to location $C000 and location $C001. If overflow did not occur store the results at $C001. If overflow did occur store a value of $FF at location $C001. • LDAA $C000 Load one value into A • ADDA $C001 Add the second location ECE265

  7. The branch • Write a program to add the contents to location $C000 and location $C001. If overflow did not occur store the results at $C001. If overflow did occur store a value of $FF at location $C001. • LDAA $C000 Load one value into A • ADDA $C001 Add the second location • BVC STORE Branch if overflow=0 • LDAA #$FF V=1 so load $FF • STORE STAA $C001 ECE265

  8. Assignment • Study for the exam. • Look over the lecture slides. • Go over the quizes • Review the homework problems. ECE265

More Related