I was also toying with the idea of just setting the registers in one line, like

PORTA = %11001010

or something to that effect, but I have no idea how I would loop that.