Title :
Reverse compilation for digital signal processors: a working example
Author :
Johnstone, Adrian ; Scott, Elizabeth ; Womack, Tim
Author_Institution :
Dept. of Comput. Sci., London Univ., UK
Abstract :
We describe the implementation and use of a reverse compiler from Analog Devices 21xx assembler source to ANSI-C (with optional use of the language extensions for the TMS320C6x processors) which has been used to port substantial applications. The main results of this work are that reverse compilation is feasible and that some of the features that make small DSPs hard to compile for, actually assist the process of reverse compilation compared to that of a general purpose processor. The article presents statistics on the occurrence of non-statically visible features of handwritten assembler code. It also looks at the quality of the code generated by an optimising ANSI-C compiler from our reverse compiled source and compares it to code generated from conventionally authored ANSI-C programs.
Keywords :
C language; assembly language; digital signal processing chips; program compilers; reverse engineering; Analog Devices 21xx assembler source; TMS320C6x processor; authored ANSI-C programs; digital signal processors; general purpose processor; handwritten assembler code; language extensions; non-statically visible features; optimising ANSI-C compiler; reverse compilation; reverse compiled source; reverse compiler; Assembly systems; Digital signal processing; Digital signal processors; Embedded system; High level languages; Optimizing compilers; Productivity; Program processors; Programming profession; Runtime;
Conference_Titel :
System Sciences, 2000. Proceedings of the 33rd Annual Hawaii International Conference on
Print_ISBN :
0-7695-0493-0
DOI :
10.1109/HICSS.2000.926965