Spring 2012
CS 315: Computer Architecture
Instructor: Professor Peter Pacheco
11:45am Friday, March 23
Room H535, Harney Science Center
University of San Francisco
San Francisco, California
What's cool about x86 assembly language?
This talk is a brief introductory overview of Intel-x86 architecture and
assembly
language for upper-division CS students who've been studying
the MIPS-32
processor and who are acquainted with the Linux operating
system.
Being able
to include 'inline' assembly language statements
in the C-language source-text
for a Linux Kernel Module (LKM),
affords students full access to all x86 features
and capabilities,
unencumbered by the normal privilege-level restrictions -- and
high-level programming-language omissions -- of most modern platforms.
Some
examples from the speaker's 20 years of experience with x86
will be cited.
Dr. Allan B. Cruse, Emeritus Professor, CS Dept, University of San Francisco
                     
                     
 |
- OpenOffice Impress Lecture Slides
- Lecture Slides (alternative .pdf format)
- Demo program: hello.s
example of a short stand-alone Linux x86 assembly language program
- Demo module: faultcpl.c
attaches a 'front-end' to Linux kernel's 'page-fault' exception-handler
- Development tool: mmake.cpp
used for automating the compiling of our Linux kernel modules
- Demo module: celsius.c
creates a pseudo-file showing internal temperatures of the Intel CPUs
- Demo program: dynaview.cpp
provides a 'dynamic visualization' for volatile text in a pseudo-file
contact: cruse@cs.usfca.edu