$ 0 0 "P1DIR = 0x00" makes all pins inputs, which is the default anyway. For how to initialize the unused pins, see section 2.5 of the User's Guide.