Proceedings of the Institute for System Programming of the RAS
RUS  ENG    JOURNALS   PEOPLE   ORGANISATIONS   CONFERENCES   SEMINARS   VIDEO LIBRARY   PACKAGE AMSBIB  
General information
Latest issue
Archive

Search papers
Search references

RSS
Latest issue
Current issues
Archive issues
What is RSS



Proceedings of ISP RAS:
Year:
Volume:
Issue:
Page:
Find






Personal entry:
Login:
Password:
Save password
Enter
Forgotten password?
Register


Proceedings of the Institute for System Programming of the RAS, 2018, Volume 30, Issue 2, Pages 65–80
DOI: https://doi.org/10.15514/ISPRAS-2018-30(2)-4
(Mi tisp309)
 

Automated generation of machine instruction decoders

N. Yu. Fokina, M. A. Solovev

Ivannikov Institute for System Programming of the Russian Academy of Sciences
References:
Abstract: This paper proposes a method of automated generation of machine instruction decoders for various processor architectures, mainly microcontrollers. Only minimal, high-level input from user is required: a set of assembly instruction templates and a list of register names. The method utilises the target architecture assembler to reveal the mapping of assembly-level instructions onto their binary encodings by mutating variables in the templates. The recovered mapping is then used as the central part of the architecture-independent decoder. The developed tools allow to significantly simplify the support of a large number of different processor architectures, since the proposed file format does not require high skill of the operator. At the same time, automated generation of decoders is performed much faster than manual or semi-automatic (description of the command character encodings in a certain language manually) development of a corresponding tool. A system based on the proposed method has been implemented and tested over a set of four microcontroller architectures: PIC16F877A, AVR, Tricore, H8/300H. The speed of decoding of our system is in all cases higher than that of standard tools that are in the public domain.
Keywords: decoder, microcontroller, binary code, automated generation, instruction set.
Bibliographic databases:
Document Type: Article
Language: Russian
Citation: N. Yu. Fokina, M. A. Solovev, “Automated generation of machine instruction decoders”, Proceedings of ISP RAS, 30:2 (2018), 65–80
Citation in format AMSBIB
\Bibitem{FokSol18}
\by N.~Yu.~Fokina, M.~A.~Solovev
\paper Automated generation of machine instruction decoders
\jour Proceedings of ISP RAS
\yr 2018
\vol 30
\issue 2
\pages 65--80
\mathnet{http://mi.mathnet.ru/tisp309}
\crossref{https://doi.org/10.15514/ISPRAS-2018-30(2)-4}
\elib{https://elibrary.ru/item.asp?id=34996252}
Linking options:
  • https://www.mathnet.ru/eng/tisp309
  • https://www.mathnet.ru/eng/tisp/v30/i2/p65
  • Citing articles in Google Scholar: Russian citations, English citations
    Related articles in Google Scholar: Russian articles, English articles
    Proceedings of the Institute for System Programming of the RAS
    Statistics & downloads:
    Abstract page:161
    Full-text PDF :138
    References:32
     
      Contact us:
     Terms of Use  Registration to the website  Logotypes © Steklov Mathematical Institute RAS, 2024