AVR Registers with Ardunio Software

Could someone show me how to access the register that represents the state of the Digital I/O pins on the AVR micro controller. I'd like to be able to do this with the Ardunio IDE if it is possible; perform the bitwise logic & and | ect on this register.

Thanks

Thanks