Grace Hopper Center

CSC 215 Weekly Assignments: Week 11

CSC 215


Overview

Welcome to 2nd Quarter! We'll be spending the first part of this quarter finishing our study of assembly language programming on CP/M, and the second part learning a dialect of C for that same environment that we will use to begin studying data structures and algorithms. Let's dive right in...

Thursday and Friday, November 6th and 7th

Classwork / Homework / Evaluation

You have class and homework time today to complete your interactive assembly programs using the CPMIO.ASM library.

Come to class next week prepared to present your program.

Monday and Wednesday, November 3rd and 5th

Classwork

Today in class we will discuss Chapter 14: Tricky Techniques, which will bring closure to Section IV: A Library of User Subroutines. Rockwell and Abi in 1A and Gabriel and Blu in 3B will present summaries of the chapter.

Now that we have such a useful library, instead of a quiz or test on the chapters, we can use our new library to pair up and write an assembly language program using it.

I'll let you choose partners for this project, and you'll have this and next period to work on it.

Project: CPMIO Console Program

Write a CP/M assembly language program using our CPMIO.ASM library that:

  1. Prompts the user to enter data.
  2. Does something meaningful with that user entered data.
  3. Outputs the result of the meaningful computation.
  4. Is different from any of the other programs presented in class in terms of the problem is solves.

A program that asked the user to enter two numbers, computed their sum, and output the result would meet this requirement, and in assembly language is not a completely trivial problem (at the very least you need to convert the characters into numbers and than back again). Obviously to meet the last requirement only one pair could do this particular project.

Project pairs for the in 1A are: Abi & Rockwell, Alex & Eleanor, Gabe & Brendon, and Sean & Nikita. Project pairs for the in 3B are: Toby & Gabriel, Anupama & Blu, Donovan & Noah, and Jake & Conrad.

Homework / Evaluation

Begin working with your partner on your interactive assembly language program, using our class git repo rubric as a guide in how to proceed.