If you're really interested on a code-level, checkout /usr/src/linux/arch. That is where any architecture-specific code is stored and if you knew what you were looking at (I don't
) I'm sure it would be very interesting, I wish I had the time to learn C and ASM to that level.