56-240: Assembly Language / Embedded Computing
Fall 2006


Class Notes, References, Updates, Announcements

Table of Contents


extra assigments

due Oct 31, 2006 Finally, and as promised, here is the extra-credit assignment on number conversions:
due Nov 27, 2006 Exam 2 "recoup" assignment: Files and Bit Manipulation

Here's the program I used to generate the test data. (However, I'd forgotten that I wrote it in Python :-)  Message-encrypter.

due Nov 27, 2006 Look at the Exam 2 "recoup" assignment: Files and Bit Manipulation for a correction concerning the input format.

class notes

2006-10-04 count-bits.c, the example program shown in class today.
2006-10-25
Hello in assembly
A first assembly program. "Some assembly required" :-]
2006-11-17
Assembly and C combined
C-calling-Assembly examples, as seen in class this week.
class notes Most of these are just brief outlines of the day's topics.

references

2006-09-18 Description and many references for IEEE-754 floating-point numbers
2006-10-04 Some documentation (Linux "man pages") on File-I/O functions:
2006-10-23 IEN 137, "On Holy Wars and A Plea For Peace". The definitive description of Big-Endian and Little-Endian byte (and bit) ordering.
2006-11-04 Assembly Language links Assembler/debugger tools, tutorials, instructional material.

software

2006-08-28 Software needed for this course. (Also see the CD-ROM included with the textbook.)
DJGPP port of Gnu C/C++ to DOS/Windows environment
Run this to install it. Run the program goDJGPP.exe to start a command-line environment in which gcc will work.
portable SciTE editor
Simple text editor with syntax coloring. Good for many languages.
2006-10-25
Nasm assembler, version 0.98.39
Unzip this archive in the same directory as your DJGPP directory (if you have one). The nasm executables will install into djgpp's "bin" directory (and create one if it doesn't exist), and (re-)add the "goDJGPP.exe" utility that sets your path and starts a command-line environment.
Nasm documentation
In various formats: HTML pages, .pdf file, .ps file, plain ASCII, Windows .chm file.