Mini-lab reference materials
Below are the necessary reference materials you can consult if you want to understand
all
aspects of the code in the Mini-labs.
PC hardware and Assembly Language
PC Assembly Language
, Paul A. Carter, November 2003.
(local copy)
Intel 80386 Programmer's Reference Manual
, 1987.
It is much shorter than the full current Intel Architecture manuals below, but describes all processor features used in labs.
IA-32 Intel Architecture Software Developer's Manuals
, Intel, 2007. Local copies:
Volume I: Basic Architecture
Volume 2A: Instruction Set Reference, A-M
Volume 2B: Instruction Set Reference, N-Z
Volume 3A: System Programming Guide, Part 1
Volume 3B: System Programming Guide, Part 2
Writing inline assembly language with GCC:
Brennan's Guide to Inline Assembly
, Brennan "Mr. Wacko" Underwood
Inline assembly for x86 in Linux
, Bharata B. Rao, IBM
Loading x86 executables in the ELF format:
Tool Interface Standard (TIS) Executable and Linking Format (ELF)
.
The definitive standard for the ELF format.