CS 240: Principles of Computer Organization

Bryn Mawr College
Fall 2015
Professor Douglas Blank

General Information

Item Description
Instructor Douglas Blank
Office hours Mondays 9:00am - 10:00am, and by appointment
E-Mail dblank@cs.brynmawr.edu
Website http://cs.brynmawr.edu/cs240/
Class Mondays/Wednesdays 2:40pm - 4:00pm
Room Park 336
Phone (610)526-6501
Open Lab Wednesdays 9:00am - 11:00pm Park Room 231 (Computer Science Lab)
Lab Assistants TBA
Grades http://moodle.brynmawr.edu/
Jupyter, login https://athena.brynmawr.edu/jupyter/

Syllabus and Schedule

Course Description: A classroom/laboratory course studying the hierarchical design of modern digital computers. Combinatorial and sequential logic elements; construction of microprocessors; instruction sets; assembly language programming. Lectures cover the theoretical aspects of machine architecture. In the laboratory, designs discussed in lecture are constructed in software. Prerequisite: CMSC B206 and CMSC B231.


Week Date Topic Assignment Notes
1 Aug 31 Overview For Wednesday, read Chapter 1, do Assignment1 Jupyter on Athena: https://athena.brynmawr.edu/jupyter
Howto change password
Sep 2 Ch 1, Welcome Aboard! For Wednesday, read Chapter 2, do Assignment2
2 Sep 7 Labor day - No classes
Sep 9 Bits, Data types, and operations; Floating-point operations For next Monday, read Chapter 4; do Assignment3
3 Sep 14 The von Neumann Model Read Chapter 5 for Wednesday
Sep 16 The LC-3 Assignment4, Read Chapter 6 for next week Branching
4 Sep 21 Programming, Branching, and Debugging Debugging, Flowcharts
Sep 23 Using Memory Assignment5 due Monday
5 Sep 28 Practice Machine coding using memory Read Chapter 7
Sep 30 In-class exercise
6 Oct 5 LC3 Assembly Language Write Assembly Code
Oct 7 Chapter 7 exercises
7 Oct 12 Fall break - No classes
Oct 14 Fall break - No classes
8 Oct 19 Review for Exam 1
Oct 21 Exam 1
9 Oct 26 Transistors Assignment6
Oct 28 Solder Circuit Boards
10 Nov 2 Transistors, details
Nov 4 Return Exam, Review Chapter 3 Read Ch. 8
11 Nov 9 Input/Output Read Ch. 9 Assignment7
Nov 11 Subroutines Read Ch.10 BonusAssignment
12 Nov 16 Subroutines and Tic Tac Toe Ch. 10
Nov 18 Projects, Screen Routines
13 Nov 23 LC-3 Changes
Nov 25 Thanksgiving break begins
14 Nov 30 Randomness in LC-3 LC-3 Changes, cont
Dec 2 The C Programming Language Chapters 11, 12, 13, 14 TERMINAL with .STRINGC
15 Dec 7 Presentations
Dec 9 Presentations

Important Dates

  • Fall Classes Begin: Monday, August 31, 2015
  • Labor Day - No Classes: Monday, September 7, 2015
  • Fall Break Begins (after last class): Friday, October 9, 2015
  • Fall Break Ends (at 8am): Monday, October 19, 2015
  • Last day of classes: Thursday, December 10, 2015
  • Reading Days: Friday, December 11, 2015
  • Exams Begin: Sunday, December 13, 2015
  • Exams End (at 12:30pm): Friday, December 18, 2015
  • Final Grade Due (at noon): Monday, January 4, 2016

Text and Software


Introduction to Computing Systems: From Bits & Gates to C & Beyond (second edition), by Yale N. Patt & Sanjay J. Patel, McGraw Hill Publishers, 2004.


We will be using the Jupyter Little Computer 3 simulator and software, installed on the Athena computer cluster:

You should have already received a password and username via email. If not, please let me know.

Course Policies


Attendance and active participation are expected in every class. Participation includes asking questions, contributing answers, proposing ideas, and providing constructive comments.

As you will discover, we are proponents of two-way communication and we welcome feedback during the semester about the course. We are available to answer student questions, listen to concerns, and talk about any course-related topic (or otherwise!). Come to office hours! This helps us get to know you. You are welcome to stop by and chat. There are many more exciting topics to talk about that we won't have time to cover in-class.

Although computer science work can be intense, please stay in touch with us, particularly if you feel stuck on a topic or project and can't figure out how to proceed. Often a quick e-mail, phone call or face-to-face conference can reveal solutions to problems and generate renewed creative and scholarly energy. It is essential that you begin assignments early, since we will be covering a variety of challenging topics in this course.


There will be about seven assignments, weighted equally in the final grading. Assignments must be submitted according to the Assignment Submission instructions.

At the end of the semester, final grades will be calculated as a weighted average of all grades according to the following weights:

Item Percentage
Exam 1 20%
Exam 2 25%
Assignments 45%
Project 10%
Total 100%

Incomplete grades will be given only for verifiable medical illness or other such dire circumstances.

Submission and Late Policy

All work must be turned in either in hard-copy or electronic submission, depending on the instructions given in the assignment. E-mail submissions, when permitted, should request a "delivery receipt" to document time and date of submission. Extensions will be given only in the case of verifiable medical excuses or other such dire circumstances, if requested in advance and supported by your Academic Dean.

No assignment will be accepted after it is past due.

No past work can be "made up" after it is due.


There will be two exams in this course. The exams will be open-book and open-notes. The exams will cover material from lectures, homeworks, and assigned readings (including topics not discussed in class).

Study Groups

We encourage you to discuss the material and work together to understand it. Here are our thoughts on collaborating with other students:

  • The readings and lecture topics are group work. Please discuss the readings and associated topics with each other. Work together to understand the material. We highly recommend forming a reading group to discuss the material -- we will explore many ideas and it helps to have multiple people working together to understand them.
  • It is fine to discuss the topics covered in the homeworks, to discuss approaches to problems, and to sketch out general solutions. However, you MUST write up the homework answers, solutions, and programs individually without sharing specific solutions, mathematical results, program code, etc. If you made any notes or worked out something on a white board with another person while you were discussing the homework, you shouldn't use those notes while writing up your answer.
  • You should not show your code to other students before it is submitted. After it has been submitted, we will share and demonstrate code.
  • You may discuss high-level code ideas with others.

If you have any questions as to what types of collaborations are allowed, please feel free to ask.