port initialization

Oh, I forgot to mention that there is a link to a good tutorial on bitwise math on that page, its well worth reading this if you need help on working with code that operates on some but not all bits.

Have fun!