CS306 Processing Systems and Structures J. W. Lockwood,
Lecture 6

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...

CS306 MP Grading Procedure


Copyright 1996-2002 Matt Plavcan and John Lockwood