[1]赵小东,施慧彬.堆栈处理器代码生成器的设计与实现[J].计算机技术与发展,2013,(04):163-167.
 ZHAO Xiao-dong,SHI Hui-bin.Design and Implementation of Code Generator for Stack Processor[J].,2013,(04):163-167.
点击复制

堆栈处理器代码生成器的设计与实现()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
期数:
2013年04期
页码:
163-167
栏目:
安全与防范
出版日期:
1900-01-01

文章信息/Info

Title:
Design and Implementation of Code Generator for Stack Processor
文章编号:
1673-629X(2013)04-0163-05
作者:
赵小东施慧彬
南京航空航天大学 计算机科学与技术学院
Author(s):
ZHAO Xiao-dongSHI Hui-bin
关键词:
堆栈处理器代码生成器LCC
Keywords:
stack processorcode generatorLCC
文献标志码:
A
摘要:
堆栈处理器是一种面向嵌入式控制领域的处理器,其执行过程不依赖于通用寄存器而是硬件堆栈.文中以一款基于FPGA设计的16位堆栈处理器为平台,研究如何将一个C源代码转换成能够被目标处理器汇编器识别的汇编指令.为了能够迅速有效地实现代码生成器,文中选用LCC. LCC是一款可变目标的C编译器,通过重新书写目标处理器的描述文件,LCC可以生成特定处理器的汇编指令.文章的最后通过一个简单的测试证明了C语言是可以移植到堆栈处理器上的
Abstract:
Stack processor is a processor facing to the field of embedded control,and its implementation process does not depend on gener-al register but hardware stack. Take the 16 stack processor based on FPGA as the platform,research how a C source code can be converted into assembly instruction by target processor assembler recognition. In order to quickly and effectively achieve the code generator,choose LCC. LCC is one variable target C compiler,through rewriting the description file of the target processor,LCC can generate a particular processor assembly instruction. Finally through a simple test proved that C language can be transplanted to stack on the processor

相似文献/References:

[1]周兵 许俊 吴亚平.中小MIS快速原型构建与自动代码生成[J].计算机技术与发展,2012,(05):28.
 ZHOU Bing,XU Jun,WU Ya-ping.Rapid Prototype Creating for Small or Medium MIS and Auto Code Generation[J].,2012,(04):28.
[2]赵小东,施慧彬.堆栈处理器汇编器的设计与实现[J].计算机技术与发展,2021,31(增刊):67.[doi:10. 3969 / j. issn. 1673-629X. 2021. S. 013]
 ZHAO Xiao-dong,SHI Hui-bin.Design and Implementation of Assembler for Stack Processor[J].,2021,31(04):67.[doi:10. 3969 / j. issn. 1673-629X. 2021. S. 013]

更新日期/Last Update: 1900-01-01