Setting multiple pins on or off using 1 line of code

You can take a look at Direct Port Manipulation