帕斯卡 到 Mips 代码转换
我目前正在为我的 Pascal 解析器开发 Mips 代码生成器(使用 Lex / Yacc 用 C 编写)。 有谁知道我可以使用一个工具作为参考以确保正确的代码生成?
I'm currently working on a Mips Code Generator for my Pascal Parser (Written in C using Lex / Yacc) . Does anybode know of a Tool out there I can use as a reference in order assure correct Code Generation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是一个 mips 模拟器。 我在学校用它来检查和运行我的 mips 项目。 我记得的一件事是这个模拟器有一些真正的 mips 编译器没有的命令(让我们学生更容易)。 我很确定这一切都已记录在案。
Here is a mips simulator. I used it in school to check and run my mips projcets. One thing I remember is that this simulator has a few commands(to make it easier on us students) that real mips compilers don't. I am pretty sure it is all documented tho.
您可以为 MIPS 目标构建 GNU Pascal 编译器,作为交叉编译器。
You can build the GNU Pascal Compiler for a MIPS target, as a cross-compiler.