虫虫首页|资源下载|资源专辑|精品软件
登录|注册

您现在的位置是:虫虫下载站 > 资源下载 > 单片机编程 > 开放式汇编器系统的设计

开放式汇编器系统的设计

  • 资源大小:158 K
  • 上传时间: 2013-10-09
  • 上传用户:ccx1991
  • 资源积分:2 下载积分
  • 标      签: 开放式 汇编器

资 源 简 介

汇编器在微处理器的验证和应用中举足轻重,如何设计通用的汇编器一直是研究的
热点之一。本文提出了一种开放式的汇编器系统设计思想,在汇编语言与机器语言间插入中间代码CMDL(code mapping description language)语言,打破汇编语言与机器语言的直接映射关系,由此建立起一套描述汇编语言与机器语言的开放式映射体系。基于此开放式映射体系开发了一套汇编器系统,具有较高层次上的通用性和可移植性。
【关键词】指令集,CMDL,汇编器,开放式

Design of Retargetable Assembler System Liu Ling Feng Wen Nan Wang Ying Chun Jiang An Ping Ji Li Jiu IME of Peking University, 100871
【摘要】An assembler plays a very important role in the field of microprocessor verifications and applications, thus how to build a retargetable assembler system has been a hotspot in this field for long time. This paper presents a new method about the retargetable assembler system design.It provides a kind of language CMDL, code mapping description language. During the process of assembling, assembler languages are firstly translated to CMDL, and then mapped to the machine codes. In an other word, CMDL is inserted between assembler languages and machine codes during the translation procedure. As a medium code, CMDL has a lot of features, such as high extraction, strong descript capabilities. It can describe almost all attributes of assembler languages. By breaking the direct mapping relationship between assembler languages and machine codes, the complexities of machine codes are hided to the users, therefore, the new retargetable assembler system has higher retargetable level by converting the mapping from assembler languages and machine codes to assembler languages and CMDL, and implementation
of it becomes easier. Based on the new mapping system structure, a retargetable assembler
system is developed. It proved the whole system has good retargetability and implantability.
【关键词】instruction set, symbol table, assembler, lexical analysis, retargetability

相 关 资 源

您 可 能 感 兴 趣 的