IA-32 Intel Architecture Software Developer's Manual, Volumes 1, 2A, 2B, and 3
IA-32 Intel Architecture Optimization Reference Manual
Both manuals are available for free downloading from http://www.intel.com/design/pentium4/manuals/index_new.htm.