OK, now I think I see what you are doing. Me a little slower than normal today...

Code:
row = PORTB & %00001110
Should isolate bit 1 ,2, and 3.