Hi list,

what's the best way to report errors in binutils, assembler?

The problem I found:
mova x(rn),rn does not translate (binutils2.19, with latest cumulative patch for MSP430X, this example was compiled with "msp430-as -al -mmcu=msp3 test1.s")

  4 ???? 0000 0000             mova 2(r1),r5
****  Error:source operand address mode not allowed with mova instruction

I fixed it by simple change in "tc-msp430.c":
line 2361: else if (op1.mode == OP_EXP && op1.am == 1 && op1.reg == 2)
was changed to:
line 2361: else if (op1.mode == OP_EXP && op1.am == 1)

I'd like to ask maintainer (sorry, I cannot find who is it) to review it for side effect and include it in next release of binutils patch

Thanks
Milan


Reply via email to