There is an overview of direct port IO in the playground here:
http://www.arduino.cc/en/Reference/PortManipulationOne issue you will have is that the standard arduino board does not have 8 pins free on any of the ports. Port D is the only one with 8 pins connected, but pins 0 and 1 are used by the serial hardware.
You can get around this by using the 4 high bits from port D (pins 4-7) and the 4 low bits from port B (pins 8-11) or port C (pins 14-17 aka the analog pins). Your code would need to read the values of ports B and C into variables, mask the relevant bits and 'or' them together. There is a link to bitmath in the playground reference above.