sp25-cs252 cs252
Chapter 6: Programming Chapter 6: Programming
Content locked
The catalog is public. Reading this content requires approved access.
Sign in to readChapter 6: Programming
Programming
6.1 Problem Solving
6.1.1 Systematic Decomposition
6.1.2 The Three Constructs: Sequential, Conditional, Iterative
6.1.3 LC-3 Control Instructions to Implement the Three Constructs
6.1.4 The Character Count Example from Chapter 5, Revisited
6.2 Debugging
6.2.1 Debugging Operations
6.2.1.1 Set Values
6.2.1.2 Execute Sequences
6.2.1.3 Display Values
6.2.2 Use of an Interactive Debugger
6.2.2.1 Example 1: Multiplying Without a Multiply Instruction
6.2.2.2 Example 2: Adding a Column of Numbers
6.2.2.3 Example 3: Does a Sequence of Memory Locations Contain a 5?
6.2.2.4 Example 4: Finding the First 1 in a Word
Exercises
Source