Fall 2003

In Class Example Programs & Notes


Week of Dec. 8

Rotate in C

Week of Nov. 24

Dewar Lecture Notes on C Arrays & Pointers, p.2

Dewar Lecture Notes on GCC AT&T Asm Syntax

Week of Nov. 17

Dewar Lecture Notes on C & Asm Recursion

Dewar Lecture Notes on C Pointers

mousmov.asm - Moving an object with a mouse

Week of Nov. 10

Dewar Lecture Notes on C Parameter Passing

Week of Nov. 3

color1.asm - Demos of Int 10H

color2.asm

color3.asm

color4.asm - Includes paint routine

Week of Oct. 27

msgs.asm - Procedure

Week of Oct. 20

packem.asm - Packing/Unpack - Shifts & AND/OR

mult3.asm - "Shift & Add" method of Multiplication

Week of Oct. 13

db.asm - Intro to DBs

data.asm - Data used as Instructions

variable.asm - Simple use of DBs as variables

printstring3.asm - Int 16h + db

reverse.asm - Reverse a string in memory

maxwrd.asm - Find largest word in an array

Week of Oct. 6

printstring1.asm

printstring2.asm

addem.asm

mult2.asm

caps.asm

Sept. 29/30

adder1.asm - Self-Modifying Code

adder2.asm - Offset Version

adder3.asm - Pointer Version

Sept. 24/25

binasc.asm

ascbin.asm

Sept. 22/23

ones.asm

divmod.asm

Sept. 17/18

prime.asm

sqrt.asm

Sept. 15/16

evenodd2.asm

evenodd3.asm

evenodd4.asm

comp1.asm

comp2.asm

comp3.asm

Sept. 10/11

evenodd1.asm