JISE


  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]


Journal of Information Science and Engineering, Vol. 19 No. 5, pp. 717-743


Automatic Assembly Program Retargeting for Microcontrollers


Ing-Jer Huang and Dao-Zhen Chen
Department of Computer Science and Engineering 
National Sun Yat-Sun University 
Kaohsiung, 804 Taiwan 
E-mail: ijhuang@cse.nsysu.edu.tw


    A new approach is proposed to translate existing software programs from one instruction set other instruction sets at the assembly level. The behaviors of instructions are abstractly represented as manipulation of the machine state. The behavior of each basic block of the software program is then represented as state transition pair. Instruction set retargeting is then modeled as the problem of finding sequences of instructions accomplishing the same machine state transitions at the target machine as does the software program at the source machine. The proposed approach has been successfully demonstrated for software translation between several industrial microcontrollers.


Keywords: retargeting, compiler, computer architecture, state abstraction, assembly programs

  Retrieve PDF document (JISE_200305_01.pdf)