Intel's Itanium Systems Architecture and System
Programmer's guide has 676 pages and about 30 lines of example code
(one line/20 pages). My code can be seen as a manual extension: about
1500 code lines makes 2 lines/ manual page. It is by no means a full
scale operating system but a learning tool.