Assembly Language
Justin Carlson
Examples used in class and other useful links
Examples used in class
Warning! These are not well-tested, and may have small bugs! They still should be useful for study purposes
A trivial assembly language program
Another simple example
Xoring an array with bytes from another array
Adding 2 32-bit numbers together
Adding 2 64-bit numbers together
A simple C function
The same function in assembly language
Reversing the order of bits in a byte
Other links
ops.txt - The specification for the assembly language we used in class
hexquiz.c - a program for learning hex to binary or binary to hex conversions