What This Document Is
This document contains four assembly language programming assignments (Lab 3) for Purdue University Fort Wayne’s Computer Architecture (CS 27100) course. It provides the problem descriptions and starter code for each assignment, requiring students to write and debug programs using the Irvine32 assembly language environment. The assignments focus on practical application of assembly concepts.
Why This Document Matters
This lab is intended for students enrolled in CS 27100 who need to demonstrate their understanding of assembly language programming, specifically loop control, indexed addressing, and memory manipulation. It’s used as a hands-on exercise to reinforce theoretical concepts covered in lectures. Successful completion of these assignments contributes to the overall course grade.
Common Limitations or Challenges
This document provides the initial code and problem statements but does *not* offer complete solutions or detailed explanations of assembly language syntax. Students are expected to have a foundational understanding of assembly language and the Irvine32 environment to complete the assignments. Debugging and troubleshooting are the student’s responsibility.
What This Document Provides
The full document includes:
* Problem 1: `sumGaps.asm` - Calculates the sum of gaps between elements in a sorted array.
* Problem 2: `fibNum.asm` - Generates the first seven Fibonacci numbers.
* Problem 3: `revArr.asm` - Reverses an integer array in place.
* Problem 4: `CopyStr.asm` - Copies a string in reverse order.
* Starter code for each program.
* Problem descriptions referencing textbook material (Problem 5-7 page 138).
This preview *does not* include the complete, executable assembly code, nor does it provide step-by-step instructions or solutions to the problems. It only outlines the assignments contained within.