Automatic Assembly Program Retargeting for Microcontrollers

Тема в разделе "WASM.BOOKS и WASM.BLOGS", создана пользователем The Svin, 23 дек 2005.

  1. The Svin

    The Svin New Member

    Публикаций:
    0
    Регистрация:
    6 июл 2003
    Сообщения:
    665
    Адрес:
    Russia
    Линк:

    hxxp://www.iis.sinica.edu.tw/JISE/2003/200309_01.pdf



    ING-JER HUANG AND DAO-ZHEN CHEN

    Department of Computer Science and Engineering

    National Sun Yat-Sen University

    Kaohsiung, 804 Taiwan

    E-mail:ijhuang@cse.nsysu.edu.tw

    A new approach is proposed to translate existing software programs from one in-

    struction 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 accom-

    plishing the same machine state transitions at the target machine as does the software

    program at the source machine. The proposed approach has been successfully demon-

    strated for software translation between several industrial microcontrollers.

    Keywords: retargeting, compiler, computer architecture, state abstraction, assembly pro-

    grams