[fpc-devel] Some Opcodes missing in internal assembler for mips32r2
sergei_gorelkin at mail.ru
Wed May 29 18:13:14 CEST 2013
29.05.2013 2:08, Sergei Gorelkin пишет:
> 29.05.2013 1:26, Michael Ring пишет:
>> I did the changes, parts of the opcodes now work fine, I think I have found the problem with the li
>> + and + mfc0 op-codes, if last parameter is 0 then the asm statement is generated wrong:
>> This works:
>> and $a0,$a0,1
>> this does not work:
>> and $a0,$a0,0
>> result is:
>> pic32mx1xxfxxxb.s:107: Error: absolute expression required `and $a0,$a0,'
> So it is the value of operand that matters. I'll try to look at it, probably a bug in the parsing
> part, because the output part doesn't have anything suspicious.
Fixed in r24630. The parsing part is buggy as hell (it interprets numbers as references rather than
as constants), but the output part wasn't correct either at outputting such references.
More information about the fpc-devel