DESIGN ASSEMBLER BASED ON LEX AND YACC | ||
Iraqi Journal of Science | ||
Article 1, Volume 53, Issue 1, April 2012, Pages 179-185 | ||
Authors | ||
Suzan Abdulla Mahmood; Amera Ismail Melhum | ||
Abstract | ||
LEX and YACC are very useful tools for constructing the assemblers; they generate functions that perform standard operations of a lexical analysis and parsing without any effecting on the organization processes for semantic analysis, machine code generation and listing source of compilation. In this work, the cross assembler was designed using some compiler development tools like LEX and YACC having the ability to implement the lexical analyzer and parser, for generating the syntax and parsing modules in a short period of time. These activates are expressed in form of actions, the bigger number of lexical and grammar rules are used by these actions in a simpler way. | ||
Keywords | ||
Assembly language; Assembler; Context Free Grammar; LEX; YACC | ||
Statistics Article View: 173 PDF Download: 126 |