开放式汇编器系统的设计  

Design of Retargetable Assembler System

在线阅读下载全文

作  者:刘凌[1] 冯文楠[1] 王迎春[1] 蒋安平[1] 吉利久[1] 

机构地区:[1]北京大学微电子学院,北京100871

出  处:《中国集成电路》2008年第8期34-38,共5页China lntegrated Circuit

摘  要:汇编器在微处理器的验证和应用中举足轻重,如何设计通用的汇编器一直是研究的热点之一。本文提出了一种开放式的汇编器系统设计思想,在汇编语言与机器语言间插入中间代码CMDL(code mapping description language)语言,打破汇编语言与机器语言的直接映射关系,由此建立起一套描述汇编语言与机器语言的开放式映射体系。基于此开放式映射体系开发了一套汇编器系统,具有较高层次上的通用性和可移植性。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 assem- bler 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 therethhas good retargetability and implantability.

关 键 词:指令集 CMDL 汇编器 开放式 

分 类 号:TP313[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象