Floating point 无法确定浮点比较给出语法错误的原因

Floating point 无法确定浮点比较给出语法错误的原因,floating-point,syntax-error,mips,pcspim,Floating Point,Syntax Error,Mips,Pcspim,代码是循环的,根据用户输入(n)计算斐波那契序列。 在PCSpim im接收中: (解析器)文件第71行出现语法错误。 c、 ep.d$f0,$f8 s.d $f2, 0.0 #f0 - These two house the fibonacci f0 + f1 numbers throughout the loop s.d $f4, 1.1 #f1 li.d $f8, 0.0 #Used respectively for when I need a zero

代码是循环的,根据用户输入(n)计算斐波那契序列。 在PCSpim im接收中:

(解析器)文件第71行出现语法错误。 c、 ep.d$f0,$f8

    s.d $f2, 0.0 #f0 - These two house the fibonacci f0 + f1 numbers throughout the loop
    s.d $f4, 1.1 #f1
    
    li.d $f8, 0.0 #Used respectively for when I need a zero or a one.
    li.d $f10, 1.0
    
    
    mtc1 $a0, $f0  #n is entered by the user in main, converted from integer to double here.
    cvt.d.w $f0, $f0 # f0 = n
    
    sub.d $f0, $f0, $f4 # -1 from n preemptively as I do the first calculation above.
    loop:
    add.d $f6, $f4, $f2 #$f6 = f0 + f1
    add.d $f2, $f4, $f8 # f0 = f1
    add.d $f4, $f6, $f8 # f1 = (f0 + f1) 
    sub.d $f0, $f0, $f10 # - 1 from n
    
    
    
    c.ep.d $f0, $f8 #comparing DoubleZero and n  <--- This is where the error is coming from
    
    bc1f loop #continue to loop if n is not equal to 0.


    li $v0, 3
    add.d $f12, $f10, $f6 #print the double
    syscall
    #move $v0, $f4

    jr $ra #return to main```
s.d$f2,0.0#f0-这两个循环中包含斐波那契f0+f1数字
s、 d$f4,1.1#f1
li.d$f8,0.0#分别用于我需要零或一的时候。
利得10美元,1.0美元
mtc1$a0,$f0#n由用户在main中输入,在这里从整数转换为双精度。
cvt.d.w$f0,$f0#f0=n
sub.d$f0,$f0,$f4#-1,从n开始,先发制人,正如我进行上述第一次计算一样。
循环:
添加.d$f6、$f4、$f2#$f6=f0+f1
添加.d$f2、$f4、$f8#f0=f1
添加.d$f4、$f6、$f8#f1=(f0+f1)
sub.d$f0,$f0,$f10#-1来自n

c、 ep.d$f0,$f8#比较DoubleZero和n不应该是
c.eq.d
,q不是p吗?谢谢。我现在觉得自己很愚蠢。