[quote user="Mahmood Anvar"]The code is about 500 lines (not too complex). Is there an easy tool to prt the code?[/quote]
The direct answer is no.
Depending on what peripherals your application needs will ultimately determine how "hard" it is to manually port the code.
I would suggest getting the MSP430Ware library and use that as a starting point for your peripheral drivers.