简单MIPS汇编器

OTL终于能写出点实用的东西了。今天写的一个MIPS汇编器,能读入若干行MIPS指令,将其翻译成机器码,存入一个文本文件中。目前只能编译add, sub, and, or, slt, beq, j, lw, sw, nop这几种指令,而且不能识别注释。不过对于完成计算机组成实验来讲足够了。ios // A simple and naive MIPS assembler // Use this co
相关文章
相关标签/搜索