求带大哥大姐帮帮忙,看着我写的这个.asm文件错哪了,十分着急,网上也搜不到答案

2019-07-14 13:15发布

  以下是程序内容:
.length 58
  .option T
  .option X
  .text
  .def _int_0
_int_0:
     B _int_0
.sect "VECTOR"
.ref _c_int0
.ref _c_int3
.ref _c_int4

     B _c_int0        ; RESET
     B _int_0          ; INT1
     B _int_0          ; INT2
      B _c_int3       ; INT3
      B _c_int4       ; INT4
      B _int_0         ; INT5
      B _int_0         ; INT6
      B _int_0         ; Reserved
      .end
错误显示是:
[E0003] Expecting condition code as operand
[E0003] Expecting condition code as operand        
[E0003] Expecting condition code as operand
...省略的是和上面一样的错误
[E0300] Symbol .ref has already been defined
[E0300] Symbol .ref has already been defined
[E0300] The following symbols are undefined
1555171406217..jpg
0条回答

一周热门 更多>