' SPIM :(解析器)语法错误'

时间:2016-03-10 17:51:58

标签: assembly mips instructions spim qtspim

对不起我使用的是MIPS模拟器。

发生这种情况时,当我试图在模拟器中打开包含我的代码的文本文件时,会显示以下消息:

    # Choose what kind of storage to use for this uploader:
    storage :file
    # storage :fog

    def store_dir
    "uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
    end

而且,当我试图执行它时,向我显示另一条消息,我理解这说明哪个模拟器没有解释哪个有错误产生的行中声明的指令:

    # Choose what kind of storage to use for this uploader:
    # storage :file
    # storage :fog

    # def store_dir 
    #  "uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
    # end

我离开了你:

 spim: (parser) syntax error on line 35 of file /home/v-wrampht3r/Desktop/MIPS.s
  mult $s4, $s0, $s1
            ^

标签 suma,resta,multbajo等是一个在另一个之下,发生的事情是,由于某种原因,在文本中互相散布。

0 个答案:

没有答案
相关问题