A clear description of x86 assembly language and assembly
language in general, including some stuff you ideally know already.
You might prefer to read this on line, rather than print it out; it's a
quick read. Warning: This book uses "Intel" assembly syntax, in
which instructions are written "instr dst, src
"; we will use
"AT&T" assembly syntax, in which they are written "instr src,
dst
". You don't need to read the following sections, which will
not be needed for class: 1.3.6-1.3.7, 1.4, 1.5, 5, 6, and 7.2.
A short and sweet description of how to use inline assembly instructions with GCC. Includes a description of the "AT&T" assembly syntax used by GCC.
Much shorter than the current Intel Architecture manuals,
but describes most of the processor features we'll use. The original was
a flat text file that used the PC Line Drawing characters for
diagrams; this, and many other versions, are available on the
net. JOS uses the following 486-and-later features, which you
can read about in the IA-32 manuals: The
%cr0
register's WP
bit (Volume 3).
The latest and longest documents from Intel.
Covers both the "classic" 32-bit x86 architecture and the new 64-bit extensions supported by the latest AMD and Intel processors.
Our kernel runs ELF executables; this is the definitive standard for how these executables are constructed.
Last updated: Thu Aug 26 02:50:24 -0500 2010 [validate xhtml]