Welcome to CS2230
This is the documentation for WMU's CS2230 Computer Organization and Assembly Language course.
The objective of this course is to teach you the low level basics of computer programming and the hardware that is necessary to make it possible.
Historically, this course was taught using a few multi-user SPARC servers maintained by the CS department. The SPARC architecture is simple enough to make it approachable for novice assembly language programming. When these servers were decomissioned, an effort to move the course to the TI MSP430 Launchpad platform was undertaken. The MSP430 is a 16-bit RISC (reduced instruction set computing) architecture, which also makes it quite suitable for novice assembly language programming.
In this class, we will try to cover the following concepts:
- Command Line Tools
- MSP430 Toolchain
- Screen or Minicom
- Git VCS
- Using the GNU Debugger (GDB)
- Remote Debugging
- MSP430 Assembly Language
- Calling Conventions
- Passing Function Parameters
- C Programming Language
- Character Arrays
- Simple Memory Allocation
- CPU Architecture & Components
- Memory Model
- General Purpose I/O (GPIO)
There is so much material to cover in this class that I will be going very quickly. You must pay attention very carefully and be on time with your assignments or you will fall behind. If you need any help at all, you must contact me. I am here to help you understand these concepts and ensure you are prepared for the next classes in this curriculum.
The required textbook for this course is The Manga Guide to Microprocessors by Michio Shibuya, Takashi Tonagi, and Office Sawa published by No Starch Press.
There used to be no required textbook for this course, but there have been many complaints from students that reading the free MSP430 Family Users Guide is too difficult or too technical and simply recommending that students read an easier, also free document like Introduction to Microcontrollers means that 90% of the class will ignore it. Therefore, this textbook is now required.
I expect that you will purchase or "purchase" this textbook. I will assign pages of this book to read during the course.
My Office is B-257 inside the CS faculty offices (the hallway next to the CS department office).
|Class in D-210||11:30AM - 12:45PM||11:30AM - 12:45PM|
|Student Hours||1:30PM - 3:30PM||2:00PM - 4:00PM||1:30PM - 3:30PM|
|Week||Covered Content||Helpful Links|
|0||Virtual Machine Setup, Linux Terminal, Text Editing||Toolchain Installation, Linux Journey|
|1||Hexadecimal, Binary, Arrays, Assignment 0||Makefile Tutorial by Example|
|2||Obtain MSP430 Kits, Makefiles, Git VCS||Stages of Compilation|
|3||CPU Components Activity, Debugger||Crash Course CS: Instructions & Programs|
|4||Instruction Encoding/Decoding, Addressing Modes|
|7||Review & Midterm|
Work is due at 11:59PM on the specified day.
|Assignment||Description||Due Date ISO 8601|
|a0||Base to Decimal Converter||--01-16|
|a1||Decimal to Base Converter||--01-23|