To simplify code migration between different architectures
an assembly translation solution towards a very long instruction word Digital Signal Processor is presented in this paper.Based on the front-end analysis
valid instructions in assembly files are mapped to machine-independent representation.Through path detection method
the delay slots are eliminated and the instruction flow graph is built
based on which the control flow graph is reconstructed.Additionally
by allocating the timestamp for each instruction
and analyzing data dependency among execution-packet
the linearizing pipelined operation is accomplished by movement and timestamps modification of instructions.The experiment indicates that the assembly programs were correctly translated to the target architecture.