申优论文 北航本科译原理大作业.docVIP

  • 1
  • 0
  • 约6.5千字
  • 约 6页
  • 2016-08-14 发布于贵州
  • 举报
申优论文 北航本科译原理大作业

How to Design a C++ Object-oriented Compiler 罗杨Abstract This system is a C++ object-oriented compiler using a extended C0 grammar as the input language. It can generate the assembly code according to the Intel 386 instructions set. You can use the Masm32v10 software to assemble and link the source code to get your 32-bit applications. 摘要 本系统实现了一个以扩充C0文法为输入语言的采用C++及面向对象思想设计的编译器,可以生成符合386指令集规范的汇编代码,用Masm32v10汇编可生成32位应用程序。 本系统考虑到不同版本的Masm的功能和使用方法的差异,以及用户手工键入汇编,连接命令多有不便,本系统自带了汇编器Ml.exe和连接器link.exe。 正文 由于是目标是Windows平台下32位应用程序,有些文法中的功能如输入和输出无法再像16位汇编时调用DOS中断解决,因此对于这些问题我使用Microsoft提供的类似

文档评论(0)

1亿VIP精品文档

相关文档