b0 or b7, that is the question.

This page & - Arduino Reference holds what look to me like contradictions and so I thought I'd flag it up.

My assertion stems from these two lines:

...So if we write PORTD = B00110001; we have made pins 2,3 & 7 HIGH...

and

DDRD = DDRD | B11111100; // set direction bits for pins 2 to 7, leave 0 and 1 untouched (xx | 00 == xx)

Would be grateful for enlightenment - thanks.

b0 is the right hand bit, b7 is the left hand bit.
First statement is wrong as posted.

CrossRoads:
b0 is the right hand bit, b7 is the left hand bit.
First statement is wrong as posted.

Thanks CrossRoads and by the same token, is the lowest numbered pin always the LSB in a direct port read or are some ports contrary on the various Arduinos?

Lowest. Always.

CrossRoads:
Lowest. Always.

Thanks again. That'll hold me for at least a Byte bit.