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
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;
Conference_Titel :
Frontiers in Education, 2003. FIE 2003 33rd Annual
Print_ISBN :
0-7803-7961-6
DOI :
10.1109/FIE.2003.1264730