Port Manipulation of Analog Pin A0-15 as Digitial Output Pin 54-61 (Mega 2560)

Nevermind. My code was correct:
PORTF = B11111110; set A0 Low; A1-A7 High
PORTK = B11111110; set A8 Low; A9-A15 High