ECE291 Computer Engineering II J. W. Lockwood,
Lecture 6

Announcements


Todays Topics


In class examples


Program Organization

  1. Write pseudocode on paper first to get a clear concept of program control flow and data structures
  2. Break the total program into logical procedures/macros
  3. Use jumps, loops, etc. where appropriate
  4. Use descriptive names for variables

Assembly Debugging Techniques

  1. General Techniques

  2. Divide and Conquer Strategy to find problems

  3. Test values/cases

  4. Double-check your own logic (Did you miss a special case?)

  5. Try a different algorithm, if all else fails...

ECE291 MP Grading Procedure


Multiplication


Division and Modulo Arithmetic


MACROs

Return to ECE291 Lecture Index
(c) 1996 Matt Plavcan / 1997 John Lockwood