Just have a look to the developers manuals from Intel or AMD. I suggest
the AMD manuals, for no special reasons:
http://developer.amd.com/documentation/guides/Pages/default.aspx#manuals
I think, for your system programming interests the Volume 2 is what you
are looking for.
Lars R.