• DocumentCode
    403085
  • Title

    A general-purpose custom-designed assembler in C

  • Author

    Hatfield, Bo ; Zhang, Mei ; Jin, Lan

  • Author_Institution
    Dept. of Comput. Sci., Salem State Coll., MA, USA
  • Volume
    2
  • fYear
    2003
  • fDate
    5-8 Nov. 2003
  • Abstract
    In this paper, we introduced the design and implementation of a general-purpose assembler that can be written and modified to be adaptive for any given assembly language to generate the target machine code and carry out the execution. The system consists of a parsing module and an execution module. The former generates the target machine code from an inputted assembly language code, and the latter simulates the hardware operation of a computer and executes the instructions. Due to its versatility and flexibility, this assembler allows easy modification to reconfigure itself for implementing any given instruction set architecture. As the major objective of this project, the assembler can help students to learn assembly-language programming and develop an in-depth understanding of its close relationship with the instruction set architecture.
  • Keywords
    assembly language; computer science education; data structures; program assemblers; assembly-language programming; computer science education; data structures; general-purpose assembler; instruction set architecture; Assembly; Computational modeling; Computer aided instruction; Computer architecture; Computer simulation; Data structures; Education; Hardware; Programming profession; Writing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Frontiers in Education, 2003. FIE 2003 33rd Annual
  • ISSN
    0190-5848
  • Print_ISBN
    0-7803-7961-6
  • Type

    conf

  • DOI
    10.1109/FIE.2003.1264730
  • Filename
    1264730