Writing an output byte instead of single pin

Hello People,

I'm new to arduino and have veeery basic atmel knowledge.

I'm looking for a way to write a bit pattern to the outputs, for example to write 00010001 to outputs 20-27. Is there a simple way? Something like on atmel loading 00010001 into a register and then performing "out portB register#".

I've performed some searches on "output byte" but didnt find anything (or didnt understand the english ;))

thanks!

Try here http://www.arduino.cc/en/Reference/PortManipulation

That was fast and very helpful! Thanks!

Anyone else looking for the Port assignments on the arduino mega board, it's here: http://arduino.cc/en/uploads/Main/arduino-mega-schematic.pdf